UNPKG

react-native-enroute

Version:

Simple and fast React Native router based on react-enroute and native navigation

69 lines (39 loc) 1.03 kB
## Changelog ### 7.0.0 - use native stack from `react-native-screens` ### 6.0.3 - fix invalid routes count check ### 6.0.2 - show warning if routes and paths count are differect - update memoized onNavigateBack ### 6.0.1 - fix for @react-navigation/stack 5.2.13 - simplify ### 6.0.0 - react-navigation@5 ### 5.0.0 - react-navigation-stack@2.0.15 - use memo for `Stack` - memoize returned from `createStack()` component ### 4.0.0 - replace `location` with `paths`. Now you can have multiply scenes with the same path in stack! - state paths is immutable now - replace state `popTop()` to `popRoot()`; `root` getter - fix default header throws error on back arrow ### 3.0.0 - react-navigation 4.x - use hooks - bind state fns ### 2.0.2 - fix for react-navigation 2.1.x ### 2.0.1 - use react-navigation release version ### 2.0.0 - use react-navigation 2-rc ### 1.1.1 - fix component can be rendered several times ### 1.1.0 - adaptation to latest react-navigation (1.2.1) ### 1.0.0 - first public release