-
Notifications
You must be signed in to change notification settings - Fork 370
feat: router v7 plugin #7106
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
feat: router v7 plugin #7106
Conversation
🦋 Changeset detectedLatest commit: 201e60e The changes in this PR will be included in the next version bump. This PR includes changesets to release 294 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 |
✅ Deploy Preview for modernjs-byted ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
7fd17eb
to
04dd376
Compare
So it seems that the biggest difference is that deferData has been removed from the results of |
packages/runtime/plugin-runtime/src/router/runtime/DeferredDataScripts.node.tsx
Outdated
Show resolved
Hide resolved
Yeah, react-router no longer processes deferred data, so we create and save |
Summary
This PR provides a
@modern-js/plugin-router-v7
plugin to use react-router v7 in the current Modern.js.Related Links
Checklist
pnpm run change
.