-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RRR Rendering #4900
RRR Rendering #4900
Conversation
Co-authored-by: Mehdi Achour <[email protected]>
* First pass at SSR using [email protected] * useLoaderData/useActionData generics + useTransition/useFetcher types * Remove duped router in favor of 1.0.4-pre.0
Co-authored-by: Jacob Ebey <[email protected]>
🦋 Changeset detectedLatest commit: fc5b75e The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
* Fix flakey firefox tests * Fix flakey upload tests * Add integration tests for useLoaderData/ErrorBoundary
🤖 Hello there, We just published version Thanks! |
This PR wires up Remix to use the new data APIs from React Router 6.4+ and removes all of the code that we originally wrote in Remix for those APIs 🎉 . This encompasses steps 2-4 of React Router-ing Remix.
With this PR Remix is now:
createStaticHandler
createStaticRouter
/<StaticRouteProvider>
createBrowserRouter
/<RouterProvider>
This also means Remix inherits:
useNavigation
useRevalidator
shouldRevalidate
(and removal ofunstable_shouldReload
)getKey
prop on<ScrollRestoration>
preventScrollReset
prop on<Link>
This has been a ton of work so I expect we'll uncover some bugs, but we're at a point now that we're functionally done as far as we know 😉. But since we don't know what we don't know, please raise concerns with any issues, typing deltas, etc.
Related info: