Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
troZee authored Sep 22, 2022
1 parent 3517160 commit bfad9a3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,25 @@ This component allows the user to swipe left and right through pages of data. Un
| iOS | iOS support |
| ViewPager1 | ViewPager2 |

## Next version
## New architecture support (Fabric)

Lazy page loading has been added to the `next` version. If you would like to test lazy apporach in your app, you can try next version using below command:
This library supports both architectures (Paper and Fabric). If you would like enable new architecture, please run below command:

`yarn add react-native-pager-view@newarch`

`yarn add react-native-pager-view@next`

## Migration

In version **6.x** support for `transitionStyle` property has been dropped. More information [here](https://github.com/callstack/react-native-pager-view/blob/master/MIGRATION.md).

`"@react-native-community/viewpager"` library has been changed to `react-native-pager-view`. Here you can find more information, how to migrate pager view to the latest [version](https://github.com/callstack/react-native-pager-view/blob/master/MIGRATION.md)

## Next version

Lazy page loading has been added to the `next` version. If you would like to test lazy apporach in your app, you can try next version using below command:

`yarn add react-native-pager-view@next`

## Getting started

`yarn add react-native-pager-view`
Expand Down

0 comments on commit bfad9a3

Please sign in to comment.