对于单击路由到某个页面,我可以通过两种方式实现
import Router from 'next/router' <button onClick={() => Router.push('/about')}> <a>Go to About</a> </button>
和
<button> <a href="/about">Go to About</a> </button>
哪个是Nextjs的最佳实践?