Skip to content

Commit

Permalink
docs: unstable_routeConfig -> v3_routeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed Nov 22, 2024
1 parent 2a20ec3 commit 92d401f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/upgrading/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ If you used the codemod you can skip this step as it was automatically completed

<docs-info>

If you used the codemod _and_ Remix v2 `unstable_routeConfig` flag, you can skip this step as it was automatically completed.
If you used the codemod _and_ Remix v2 `v3_routeConfig` flag, you can skip this step as it was automatically completed.

</docs-info>

In React Router v7 you define your routes using the `app/routes.ts` file. View the [routing documentation][routing] for more information.

**πŸ‘‰ Update dependencies (if using Remix v2 `unstable_routeConfig` flag)**
**πŸ‘‰ Update dependencies (if using Remix v2 `v3_routeConfig` flag)**

```diff
// app/routes.ts
Expand All @@ -116,9 +116,7 @@ export default [

```

<!-- TODO: Remove this section once this flag is stabilized and recommend they make this change in Remix/refer to the routes.ts docs -->

**πŸ‘‰ Add a `routes.ts` file (if _not_ using Remix v2 `unstable_routeConfig` flag)**
**πŸ‘‰ Add a `routes.ts` file (if _not_ using Remix v2 `v3_routeConfig` flag)**

```shellscript nonumber
touch app/routes.ts
Expand Down

0 comments on commit 92d401f

Please sign in to comment.