Which path does router.replace replace?
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
Hello everyone,
i have a learning project with NextJS and i have a route which i need to omit from the history of the browser, becaseu it contains code which must run only once per render.
So the question it where do i put the router.replace decalration if i want ot replace the
THanks in advance.
i have a learning project with NextJS and i have a route which i need to omit from the history of the browser, becaseu it contains code which must run only once per render.
So the question it where do i put the router.replace decalration if i want ot replace the
/register route with something else? Does that mean it will load the route to which it was replaced to?THanks in advance.