Skip to content

Commit

Permalink
Update docs/start/future-flags.md
Browse files Browse the repository at this point in the history
Co-authored-by: Brooks Lybrand <[email protected]>
  • Loading branch information
markdalgleish and brookslybrand authored Oct 18, 2024
1 parent ec9aa74 commit a995410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/start/future-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ Opt into automatic [dependency optimization][dependency-optimization] during dev

## routes.ts

Config-based routing is the new default in React Router v7. Support for `routes.ts` and its related APIs in Remix are designed as a migration path to help minimize the number changes required when moving your Remix project over to React Router v7. Since React Router v7 is not yet stable, these APIs are also considered unstable.
Config-based routing is the new default in React Router v7. Support for `routes.ts` and its related APIs in Remix are designed as a migration path to help minimize the number of changes required when moving your Remix project over to React Router v7. Since React Router v7 is not yet stable, these APIs are also considered unstable.

While not a future flag, the presence of an `app/routes.ts` file when using the Remix Vite plugin will disable Remix's built-in file system routing and opt your project into React Router v7's config-based routing. To opt back in to file system routing, this can be explicitly configured within `routes.ts` as we'll cover below.

Expand Down

0 comments on commit a995410

Please sign in to comment.