mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
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
158 lines
6.4 KiB
158 lines
6.4 KiB