Skip to content

v2.0.0

Compare
Choose a tag to compare
@vonovak vonovak released this 28 Feb 08:35
· 37 commits to master since this release

This version supports react-navigation v5 and drops support for older versions.

If you've used this library with previous versions of react-navigation, this means you can forget about two steps of the v5 migration process! 🎉 See separate route prop and no more getParam.

Breaking

  • navigation props are passed from props.route.params now instead of props.navigation.state.params (this has changed in react-navigation v5)
  • screenProps were removed from react-navigation v5 so we do not pass them through
  • static navigationOptions were removed from react-navigation v5 so we do not support this either