/router

This is a preview of the new router for React Native apps. It is currently in alpha and is not ready for production use.

Primary LanguageTypeScript

Expo Router Preview

This is a preview of the new router for React Native apps. It is currently in alpha and is not ready for production use. The repo also acts as an RFC for the router. Please open a discussion if you have any questions or feedback.

  • Router - Current implementation.
  • Documentation - Current documentation for the router (WIP / RFC).
  • Example - Test app.
  • RFC - Add your feedback here.

Demo

  • Run yarn in the root of the repo to install dependencies.
  • Run yarn start in the root to compile the packages/
  • Change directory to apps/demo and run yarn start to start the demo app.
  • Modify the contents of apps/demo/app/ to use the router.

The router demo uses a custom version of Metro, this may cause conflicting version issues that lead to require.resolve cannot be found. If this happens, you can run yarn in the root of the repo and restart the dev server.