Skip to content

Commit c257ee1

Browse files
authored
feat(rsc): add support for custom entry files in RSC Framework Mode (#14643)
1 parent 9ef8664 commit c257ee1

114 files changed

Lines changed: 1467 additions & 3603 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/flat-singers-help.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@react-router/serve": patch
3+
"@react-router/dev": patch
4+
---
5+
6+
support custom entrypoints for RSC framework mode

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ build.utils.d.ts
1414
.wrangler/
1515
.tmp/
1616
.react-router/
17-
.react-router-parcel/
1817
packages/**/dist/
1918
packages/react-router-dom/server.d.ts
2019
packages/react-router-dom/server.js

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ node_modules/
2727

2828
.wireit
2929
.eslintcache
30-
.parcel-cache
3130
.tmp
3231
tsup.config.bundled_*.mjs
3332
build.utils.d.ts
@@ -36,4 +35,4 @@ worker-configuration.d.ts
3635
/NOTES.md
3736

3837
# v7 reference docs
39-
/public
38+
/public

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
**RSC mode differences:**
2525

2626
- **RSC Framework**: `unstable_reactRouterRSC` plugin, `@vitejs/plugin-rsc`, different entry points/format
27-
- **RSC Data**: Manual bundler, runtime route config typically in `src/routes.ts`, `unstable_RSCRouteConfig`, different runtime APIs, `setupRscTest` in `integration/rsc/`, tests Vite + Parcel
27+
- **RSC Data**: Manual bundler, runtime route config typically in `src/routes.ts`, `unstable_RSCRouteConfig`, different runtime APIs, `setupRscTest` in `integration/rsc/`
2828

2929
## Architecture
3030

@@ -70,7 +70,7 @@ pnpm test:integration:run --project chromium -g "middleware" # T
7070
**RSC testing**:
7171

7272
- **RSC Framework**: Use `createFixture` with `rsc-vite-framework/` template
73-
- **RSC Data**: Use `setupRscTest` in `integration/rsc/`, tests Vite + Parcel
73+
- **RSC Data**: Use `setupRscTest` in `integration/rsc/`
7474

7575
Test shared behavior across multiple templates (e.g., `["vite-5-template", "rsc-vite-framework"]`). Test RSC-specific features against RSC template.
7676

0 commit comments

Comments
 (0)