Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0 multi router #2719

Closed
wants to merge 292 commits into from
Closed

4.0.0 multi router #2719

wants to merge 292 commits into from

Conversation

brrr
Copy link

@brrr brrr commented Dec 19, 2017

Multiple router is very useful for some project ,especially hybrid app when native code want to start different RN component at different page but using same RCTBridge.

For now(4.0.0-beta.24), multiple router in RNRF is not supported yet, so I wrote some code try to enhance it, and I also mentioned that other guys could need this feature like #2274

So, this PR is sent. hopefully helpful.

I also wrote a demo to demonstrate how to use multiple router in hybrid app ,check it out
https://github.com/brrr/example_RNFR_MULTI_ROUTER

aksonov and others added 30 commits July 10, 2017 13:41
…enes declared above

- Enhancement: If component has static navigationOptions return it instead of RNRF generated options
- Enhancement: Allow all navBar properties (title, right, left, rightButtonImage, onRight, etc.) be defined as static functions/values of Scene component
- Fix: Actions.refresh was broken because navigationStore doesn’t allow the same scene after state change
- Enhancement: fix ESLint errors for tests
- Enhancement: support inheritance of scene props (useful for `headerMode` attribute for different RN StackNavigator animation)
- Fix: attempt to fix react-navigation pushes instead of jumping when user taps the same tab (aksonov#2024)
- Enhancement: use navBarButtonColor or tintColor or headerTintColor for image button tintcolor (aksonov#2028)
- Fix: use backBehavior='initialRoute' by default (aksonov#2026)
- Enhancement: allow right/leftTitle, right/leftButtonImage to be static functions within scene component
- Enhancement: allow wrapping all screens and navbar buttons with `wrapBy` parameter for `Router`. It could be `observer` from MobX, or `connect` from Redux or any other function.
- Fix: eslint formatting, fix CircleCI build
fix: tintColor doesn't work for back/left button
* v4 docs

* more docs
aksonov and others added 28 commits October 30, 2017 09:08
Add API documentation for onBack prop
…react (aksonov#2584)

* upd deps

* upd pkgs

* upd RN to fix test

* upd mobx & mobx-react
Update link for open issues
Update link for open issues in CONTRIBUTING.md
document Tabs animationEnabled property documentation
* Deep linking draft (doesn't work properly yet)

* fix build

* fix errors
…nov#2605)

Significant change is that TabProps no longer extend SceneProps, as Tabs do not need to have a component set. Was unable to add which properties should be inherited from SceneProps to TabProps due to the fact that there is no code in Tabs.js
* Adds universal linking with parameter parsing

* Adds universal linking with parameter parsing

* Adds universal linking with parameter parsing

* yarn lock

* linting

* changes reflected in dist
@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Sorry for the delay, we were working on upgrade RNRF to latest React Navigation (2.x). If you still want to have this functionality, please apply new PR for new version (beta.40)

@aksonov aksonov closed this Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.