Replies: 3 comments
-
I tried removing the calls to startTransition and while the router works it seems to re-render the entire app for every route change (i.e. the window blinks). No dialog after 3 weeks, I am going to assume that react < 18 is not going to be supported. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering this to. Release v1 is out and the docs say the library supports v16.8+. Line 11 in 912fae7 But there's still |
Beta Was this translation helpful? Give feedback.
-
There shouldn't be issues with useTransition now: #900 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
router/packages/react-router/package.json
Lines 41 to 42 in 0e26a51
Are the peer dependencies correct? Is this library supposed to support react < 18?
The RouterProvider uses a startTransition with out any way to skip the call which generates a runtime error when used with react 17.0.2 (which I am currently restricted too)
router/packages/react-router/src/react.tsx
Line 637 in 0e26a51
Is the react transition api a requirement of the router working correctly? Could there be a router provider prop that would default links and router provider to not use the startTransition calls.
Beta Was this translation helpful? Give feedback.
All reactions