Problem in NextJS Routing Where .push with shallow causing extra render

后端 未结 0 466
耶瑟儿~
耶瑟儿~ 2020-11-28 01:20

I have the following code that every time onClick gets executed, the page gets rendered twice. I want the URL to update silently which is why I have the shallow: true set, b

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