Next.js - Is it possible to detect when a page is accessed directly or via <Link> or router.push.?

后端 未结 0 334
野的像风
野的像风 2020-12-04 04:45

I want to implement some conditional scrollTo behavior depending whether the page is accessed directly by typing the URL into browser VS when the page is rendered as a resul

相关标签:
回答
  • 消灭零回复
提交回复
热议问题