Next.js tip: If you want to update the URL search params, but not fetch a new page from the server, use window.history.pushState instead of router.push. It updates the URL instantly.
0
4
28
2K
12
Download Video