Skip to content

Commit

Permalink
WIP: migration guide for DefaultRenderer (#2941)
Browse files Browse the repository at this point in the history
4.x appears to no longer export DefaultRenderer, at least not under the same name. The migration guide should probably mention that. Ideally it would also explain what to replace it with, but I don't know what should be the replacement
  • Loading branch information
JNaftali authored and aksonov committed Aug 8, 2018
1 parent c4ec9a5 commit c76fc5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ https://github.com/react-community/react-navigation/issues/1493
* No `direction` attribute is supported for custom transitions. For vertical transition add `modal` to parent `Scene`.
* tabBarSelectedItemStyle is not supported. Instead please use React Navigation TabBar params for tabs Scene: `activeTintColor`, `inactiveTintColor`, etc (https://reactnavigation.org/docs/navigators/tab)
* To make multiple pops you could use `Actions.popTo(sceneName)` where sceneName is name of scene you want to see (it should be not container, i.e. scene with `component`)
* No longer exports DefaultRenderer
* Possible other stuff...

Check Example project for this repository

0 comments on commit c76fc5d

Please sign in to comment.