Next.js ignores router.replace
Unanswered
jantimon posted this in #help-forum
jantimonOP
In this example you can see that the second effect calls
https://stackblitz.com/edit/stackblitz-starters-edumbh?description=The%20React%20framework%20for%20production&file=pages%2Findex.tsx&title=Next.js%20Starter
Can someone please help me to understand why this is happening?
router.replace to change the URL but it is ignored:https://stackblitz.com/edit/stackblitz-starters-edumbh?description=The%20React%20framework%20for%20production&file=pages%2Findex.tsx&title=Next.js%20Starter
Can someone please help me to understand why this is happening?