Remove remix use react router v7#297
Merged
Yosuke Enokida (xenolay) merged 6 commits intomainfrom Apr 13, 2026
Merged
Conversation
Replace @remix-run/* packages with react-router, @react-router/dev, @react-router/fs-routes, and @react-router/serve. Update all imports, vite config, and add app/routes.ts for file-based routing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the naive event-listener implementation of createReadableStreamFromReadable with Node.js's built-in Readable.toWeb(), which correctly handles backpressure, pause/resume, and cancellation to avoid unbounded memory buffering during streaming SSR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add @react-router/node dependency and import createReadableStreamFromReadable from it, replacing the manual Readable.toWeb() approach. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add .react-router/ to .gitignore (generated directory) - Update README.md tech stack from Remix to React Router v7 - Update singleton.ts comment URL to React Router docs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace deprecated MetaArgs.data with MetaArgs.loaderData in all routes - Merge duplicate react-router imports in root.tsx - Exclude .react-router/ generated directory from eslint Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add rootDirs: [".", "./.react-router/types"] to tsconfig.json so tsc can resolve generated route type files after react-router build/dev - Move @react-router/serve from devDependencies to dependencies since react-router-serve is used at runtime by the start script Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
client-ui を Remix v2 から React Router v7 へ移行する。
Remix v2 は maintenance mode に入っており、移行先として React Router v7 が公式にガイドされている。