react-navigation / rfcs

RFCs for changes to React Navigation
Other
88 stars 16 forks source link

Navigator View RFC #7

Closed ericvicenti closed 6 years ago

ericvicenti commented 6 years ago

Introduce a simpler API for createNavigator and navigation views. By providing "sceneDescriptors" to the navigation view, it does not need to compute options or manually create the child navigation prop.

Down the line, this will enable us to deprecate addNavigationHelpers, which is an avoidable burden for redux apps and when implementing custom navigators. Eventually, each navigator may provide a different set of helpers.

See the preview implementation here: react-navigation/react-navigation#3392