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
Clone the repo above - note the branch! -- feature/broken-use-repro
npm i
Run TWO terminals. Do npm run server in one. Run npm run dev in the othder
hit http://localhost:3000/app/tasks
Navigating there as a client navigation runs fine. But refresh the page on that url. The outer page should render, but the suspense boundary should show indefinitely
Expected behavior
See above
Screenshots or Videos
No response
Platform
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered:
both router and react 19 were modifying the Promise object in a similar manner which caused a conflict.
See https://github.com/facebook/react/blob/v19.0.0/packages/react-reconciler/src/ReactFiberThenable.js#L162-L228 for how React 19 modifies the Promise object.
Both used an additional `status` property to track the Promise status, but router was using the value "success" and React was using the value "fulfilled" to mark a fulfilled Promise.
This change stores the router specific Promise tracking values using a symbol to avoid any potential collision.
fixes#2953
both router and react 19 were modifying the Promise object in a similar manner which caused a conflict.
See https://github.com/facebook/react/blob/v19.0.0/packages/react-reconciler/src/ReactFiberThenable.js#L162-L228 for how React 19 modifies the Promise object.
Both used an additional `status` property to track the Promise status, but router was using the value "success" and React was using the value "fulfilled" to mark a fulfilled Promise.
This change stores the router specific Promise tracking values using a symbol to avoid any potential collision.
fixes#2953
Which project does this relate to?
Start
Describe the bug
Using use() causes the component to hang, and never resolve the suspense boundary
Your Example Website or App
https://github.com/arackaf/tanstack-start-test-1/tree/feature/broken-use-repro
Steps to Reproduce the Bug or Issue
Clone the repo above - note the branch! -- feature/broken-use-repro
npm i
Run TWO terminals. Do
npm run server
in one. Runnpm run dev
in the othderhit http://localhost:3000/app/tasks
Navigating there as a client navigation runs fine. But refresh the page on that url. The outer page should render, but the suspense boundary should show indefinitely
Expected behavior
See above
Screenshots or Videos
No response
Platform
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered: