This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
Release 2.0.0-alpha.0
Pre-release
Pre-release
Features
- use gesture handler and reanimated for performance (451435a)
BREAKING CHANGES
This version removes some props which are difficult/impossible to implement with reanimated,
and requires linking react-native-gesture-handler
and react-native-reanimated
List of breaking changes:
- The
renderPager
prop is removed. Now there's only one pager implemented with gesture handler. - The
animationEnabled
prop is removed. It's not straightforward to implement, and doesn't make much sense in the scope of this library. - The
canJumpToTab
prop is removed - Few props such as
onSwipeStart
,onSwipeEnd
andonAnimationEnd
have been removed (if you have ideas on how to implement these, happy to add them back) - The
position
prop received by therenderTabBar
andrenderScene
are now reanimated nodes, so you'll need to migrate your custom tab bar to use reanimated. This should mostly be straightforward. - No react-native-web support because both gesture handler and reanimated are native deps. I can implement the pager with pan responder for web, but can't do much for reanimated