Replies: 2 comments
-
Had a similar issue, I needed to remove the component from my
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Removing
In all the cases the crash is preceded by the It seems like the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes when I restart the
react-router dev
server, the (already-open) website in the browser auto-refreshes to:It's hard to pinpoint when it actually happens, but I think it happens when a page needs to be compiled for the first time. It's also reliably reproducible if I remove the node_modules directory, reinstall and restart the dev server.
Sometimes the auto-refresh works but clicking "back" shows a similar error about useRef being null.
Is this a known issue?
This didn't seem to happen with other frameworks, so it must be specific to react-router v7 (in combination with a vite plugin).
Beta Was this translation helpful? Give feedback.
All reactions