Skip to content

Commit bfad9a3

Browse files
authored
Update README.md
1 parent 3517160 commit bfad9a3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,25 @@ This component allows the user to swipe left and right through pages of data. Un
2121
| iOS | iOS support |
2222
| ViewPager1 | ViewPager2 |
2323

24-
## Next version
24+
## New architecture support (Fabric)
2525

26-
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:
26+
This library supports both architectures (Paper and Fabric). If you would like enable new architecture, please run below command:
27+
28+
`yarn add react-native-pager-view@newarch`
2729

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

3031
## Migration
3132

3233
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).
3334

3435
`"@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)
3536

37+
## Next version
38+
39+
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:
40+
41+
`yarn add react-native-pager-view@next`
42+
3643
## Getting started
3744

3845
`yarn add react-native-pager-view`

0 commit comments

Comments
 (0)