Repository navigation
feat(remix2): add isolated native Remix 2 compiler mode - #162
Closed
ScriptedAlchemy wants to merge 1 commit into
Closed
ScriptedAlchemy wants to merge 1 commit into
ScriptedAlchemy wants to merge 1 commit into
Conversation
commit: |
Contributor
Benchmark results
|
Merging this PR will not alter performance1 warning
Comparing Footnotes
|
Collaborator
Author
|
Closing: the Remix 2 / React Router 6 support for TTArk will live as a TTArk-owned package in its monorepo instead of in this plugin. Keeping the branch for reference. |
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.
Why
Remix 2 applications need the native React Router 6 compiler protocol without changing their framework imports or application entries.
Add a dedicated
rsbuild-plugin-react-router/remix2entry instead of compatibility aliases to React Router 7.What changed
pluginRemix2, independent ESM and CommonJS bundles, declarations, and native manifest and route transforms.@react-router/nodeout of production dependencies; root-mode applications must install it for the default server entry.Scope
Blast Radius
Native applications keep their actual framework modules and unchanged custom entries. Optional peer metadata changes package installation for all modes; startup checks report missing or incompatible mode packages.
Development memory grows with distinct immutable assets until close, so slow documents can hydrate after rebuilds.
Verification
pnpm install --frozen-lockfile, serialpnpm buildand pack, source and test typechecks, eight native unit tests, package interop, scoped formatting, and diff checks pass. All 200 packed files match the independently reviewed artifact.node scripts/test-remix2-isolated.mts pluginrun passed native isolation, declarations, development and production Chromium, five HTTP tests, aliases, retention, and prior regressions. Independent follow-up probes passed supersession, failed publication, and close ownership. See the fixture evidence.