Skip to content

Commit 6c6c57f

Browse files
committed
Add changeset
1 parent 712368a commit 6c6c57f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.changeset/sour-cycles-lie.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@react-router/dev": major
3+
"react-router": major
4+
---
5+
6+
- Consolidate types previously duplicated across `@remix-run/router`, `@remix-run/server-runtime`, and `@remix-run/react` now that they all live in `react-router`
7+
- Examples: `LoaderFunction`, `LoaderFunctionArgs`, `ActionFunction`, `ActionFunctionArgs`, `DataFunctionArgs`, `RouteManifest`, `LinksFunction`, `Route`, `EntryRoute`
8+
- The `RouteManifest` type used by the "remix" code is now slightly stricter because it is using the former `@remix-run/router` `RouteManifest`
9+
- `Record<string, Route> -> Record<string, Route | undefined>`
10+
- Removed `AppData` type in favor of inlining `unknown` in the few locations it was used
11+
- Removed `ServerRuntimeMeta*` types in favor of the `Meta*` types they were duplicated from

0 commit comments

Comments
 (0)