Skip to content

Commit

Permalink
remove old build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 5, 2022
1 parent 12debe2 commit 6adc50c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ This is an example of how you can incrementally migrate to Remix if you're using
3. Move all your existing code into a directory within the `app` directory (like `app/old-app` for example).
4. Remove `<BrowserRouter>` from your `App`
5. Create a `app/routes.$.tsx` file with just `export { default } from "~/old-app/app";` (or whatever file has the root component for your existing React Router app).
6. Everything should work at this point (_and_ it'll be server rendered too!!). Commit + push!
7. Over time, move old routes to the `routes` directory until you bring everything over.
8. You're done!
6. Remove all your old webpack build stuff and use the `remix` CLI instead. Your builds are now outrageously fast.
7. Everything should work at this point (_and_ it'll be server rendered too!!). Commit + push!
8. Over time, move old routes to the `routes` directory until you bring everything over.
9. You're done!

We'll have better docs and even videos about this in the future, but this is a pretty darn solid and iterative approach with quick wins and a clear path.

0 comments on commit 6adc50c

Please sign in to comment.