-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Description
I'm using React Router as a...
framework
Reproduction
I'm reposting this issue from remix-run
repo after an agreement with @brookslybrand since the author @phuctm97 of the comment saying that this happens on RR7 as well did not create an issue here. Link to the original issue
Sadly I don't have a reproduction because i received the errors in Sentry and it mostly happened in Instagram browser and sometimes chrome.
However i enabled single fetch by updating vite.config.ts
and then adding nonce
to RemixServer
. That's all.
Then i started seeing errors in sentry saying Root did not complete. This is a bug in React.
. It happened on multiple pages like login and some others. This is a production environment with thousands of visitors every day, it's hard to pinpoint why it happened.
My react version is 18.3.1
System Info
System:
OS: macOS 15.1
CPU: (16) arm64 Apple M3 Max
Memory: 3.14 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
pnpm: 9.12.2 - ~/Library/pnpm/pnpm
bun: 1.1.34 - ~/.bun/bin/bun
Browsers:
Brave Browser: 130.1.71.123
Safari: 18.1
Used Package Manager
pnpm
Expected Behavior
It shouldn't throw any errors
Actual Behavior
It does. However, I have no idea how to debug something like this since it hasn’t happened to me.