#Route Check - Redirect
4 messages · Page 1 of 1 (latest)
out of interest, why would that make a difference?
and what happens if, after a redirect, the user refreshes the page?
The page would check if the page was redirected to. If not I send the user to another page.
I’m assuming now that the router state is not preserved when reloading the page.
If state is preserved I would also add a state to check if the action was alredy done.
If not I would keep them on the page else away they go.