Skip to content

The new File-based router for universal React Native apps!

Notifications You must be signed in to change notification settings

johnslemmer/expo-router

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expo Router

Version 1 release candidate is out now! Learn more.

Repo for the new File-based router for React Native apps. 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.

Running

The easiest way to try Expo Router is by creating a new project:

npx create-expo-app -e with-router

See the setup guide for more.

Contributing

If you want to work against the latest branch for contributions, you can use apps/sandbox.

apps/sandbox is a basic playground for developing the Expo Router package, please don't open PRs specifically to improve the tester.

  • 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/sandbox and run yarn start to start the demo app.
  • Modify the contents of apps/sandbox/app/ to use the router.

Examples

  • Test app - Test app, in this repository.
  • Demo app - Demo app for the latest router version.

Add yours today!

About

The new File-based router for universal React Native apps!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.2%
  • JavaScript 3.8%