React Native Router is a legacy navigation library created for early React Native applications. It wraps an application in a Router component and begins navigation from a required firstRoute object. Each route defines a component and can include a name that appears in the navigation bar. Screens move to new routes through the injected toRoute callback and can pass custom data to the destination. Developers can customize header styles, titles, back buttons, corner actions, and route-specific navigation elements. The repository includes a Twitter-style example that demonstrates more advanced interface patterns. The project was archived in 2019, is officially deprecated, and recommends React Navigation for modern applications.
Features
- Initial route-based navigation setup
- Programmatic navigation through toRoute
- Custom navigation bar styles and titles
- Replaceable back and corner components
- Route-specific data and custom actions
- Example Twitter-style mobile interface