Skip to content
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
Compare
Choose a tag to compare
@satya164 satya164 released this 19 Feb 21:29

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 and onAnimationEnd have been removed (if you have ideas on how to implement these, happy to add them back)
  • The position prop received by the renderTabBar and renderScene 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