You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a case of a redirect to a 404, a user can't go back to the previous page before the 404 because the .push() will put in a redirect loop that we want to avoid.
The text was updated successfully, but these errors were encountered:
fredlawl
changed the title
Prefer router.replace() instead of .push() for 404 pages
Prefer router.replace() instead of .push() for 404 redirects
Apr 27, 2021
In a case of a redirect to a 404, a user can't go back to the previous page before the 404 because the .push() will put in a redirect loop that we want to avoid.
The text was updated successfully, but these errors were encountered: