React Native Router Based On New Navigation API

Description:

Router for React Native based on new React Native Navigation API.

Features:

  • Define your scene transitions in one central location
  • Use simple syntax to call transitions anywhere in your code (e.g. Actions.login())
  • Eliminates the need to pass navigator objects to your screens
  • (new) Ability to show/hide navigation bar as well as customize it for each scene or even a different state of a scene (Edit/Save navbar for edit mode, for example)
  • Support for managing a tab bar, using react-native-tabs
  • Support for nested navigators. For example, each tab can have its own navigator, nested in a root navigator.
  • (new) Ability to add own custom scene renderers for action sheet, native TabBarIOS or anything else, see built-in Modalrenderer (to display popups) as example. Feel free to submit PR with custom renderers for ActionSheet, Drawer, etc. Let’s make awesome library!
  • (new) Dynamically choose scene to render depending from application state (Switch renderer, useful for authentication)
  • (new) Possibility to use own reducer for navigation state.
  • (new) Add action reset to clear the entire history stack. Prevents going ‘back’.
  • (new) Support for different states inside same screen. For example “View My Account” could allow in-place edit of fields and “Save”, “Cancel” navigation bar buttons should appear.

Preview:

React Native Router Based On New Navigation API

Add Comment