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
The redirect performed with navigate should work fine in both strict and no strict mode.
Actual Behavior
The redirect performed with navigate works fine only in strict mode. There seems to be something wrong when navigate is called twice for the same page (it happens in StrictMode because I am performing navigate from useEffect and StrictMode runs effects twice in development).
Btw I am doing navigation from the useEffect because in my app I must do client side navigation
The text was updated successfully, but these errors were encountered:
Reproduction
Log in
and notice 404 error withError: No route matches URL "/verify-email"
message in consoleNow to demonstrate how the issue is not there when StrictMode is disabled:
fakeUser
must be removed)entry.client.ts
file and remove<StrictMode>
that wraps<RemixBrowser>
Log in
and notice how it redirected to /verify-email page correctly nowSystem Info
Used Package Manager
bun
Expected Behavior
The redirect performed with navigate should work fine in both strict and no strict mode.
Actual Behavior
The redirect performed with navigate works fine only in strict mode. There seems to be something wrong when navigate is called twice for the same page (it happens in StrictMode because I am performing navigate from useEffect and StrictMode runs effects twice in development).
Btw I am doing navigation from the useEffect because in my app I must do client side navigation
The text was updated successfully, but these errors were encountered: