github react-navigation/react-navigation @react-navigation/native@6.0.0-next.0

latest releases: @react-navigation/stack@7.0.0-alpha.20, @react-navigation/native-stack@7.0.0-alpha.20, @react-navigation/material-top-tabs@7.0.0-alpha.19...
pre-release3 years ago

6.0.0-next.0 (2021-03-09)

Bug Fixes

  • address breaking change in react-native for Linking (61c6bb0)
  • default to backBehavior: firstRoute for TabRouter (8bdc6c6)
  • drop dangerously prefix from getState and getParent (227f133)
  • normalize prefix when parsing. fixes #9081 (fd034fe)
  • support sync getInitialURL in native useLinking (52dd4e7)

Features

  • associate path with the route it opens when deep linking (#9384) (86e64fd), closes #9102
  • stop exporting useLinking hook (5a9a1ed)

BREAKING CHANGES

  • Returning to first route after pressing back seems more common in apps. This commit changes the default for tab and drawer navigators to follow this common practice. To preserve previous behavior, you can pass backBehavior=history to tab and drawer navigators.
  • we have added linking prop for the same use case which is easier to use. so no need to export useLinking anymore.

Don't miss a new react-navigation release

NewReleases is sending notifications on new releases.