callstackincubator / bs-react-navigation

A fast, declarative navigation for React Native, based on React Navigation
MIT License
55 stars 5 forks source link

Extract "navigation" from Stack #25

Open grabbou opened 5 years ago

grabbou commented 5 years ago

We should be able to easily share "navigation" prop between different navigators.

czystyl commented 5 years ago

But remember that not all the navigator have the same shape.

grabbou commented 5 years ago

Yes, I am thinking of the api:

StackNavigator.Navigation.(push|pop|whatever)(navigation)

where "navigation" is of ReactNavigation.Native.NavigationProp or something.

czystyl commented 5 years ago

Yep, and could be done with #22.