Skip to content

Commit 227a390

Browse files
Handle meta and links route exports in RSC (#14136)
1 parent de1eb5d commit 227a390

File tree

8 files changed

+671
-584
lines changed

8 files changed

+671
-584
lines changed

.changeset/purple-papayas-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router": patch
3+
---
4+
5+
Handle `meta` and `links` Route Exports in RSC Data Mode

integration/helpers/rsc-vite-framework/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"lib": ["ESNext", "DOM", "DOM.Iterable"],
1515
"types": ["vite/client", "@vitejs/plugin-rsc/types"],
1616
"jsx": "react-jsx",
17+
"paths": {
18+
"~/*": ["./app/*"]
19+
},
1720
"rootDirs": [".", "./.react-router/types"]
1821
}
1922
}

0 commit comments

Comments
 (0)