Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
handle new SwitchRouter history back behaviors #31
This is a proposal implementation for new SwitchRouter backBehaviors documented in RFC:
I didn't test it in a real app but the tests are passing and seems ok regarding the RFC, is there any easy setup to do so?
Also note I created a
referenced this pull request
Jan 31, 2019
I updated the example project to SDK32 and added a good way to do test @react-navigation/core changes in it: https://github.com/react-navigation/react-navigation-core#development-workflow - hope that helps! If you rebase this PR on master you'll be able to use it.
I think the default should be the current behavior,
I've made the changes required to put the history to navigation state. Not sure exactly what I'm doing so take care reviewing this :D
Will try to check to add an example soon.
Agree we can keep for now the
@slorber - want to open a pr on https://github.com/react-navigation/react-navigation.github.io with info on this change? :)