You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,25 @@ This component allows the user to swipe left and right through pages of data. Un
21
21
| iOS | iOS support |
22
22
| ViewPager1 | ViewPager2 |
23
23
24
-
## Next version
24
+
## New architecture support (Fabric)
25
25
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`
27
29
28
-
`yarn add react-native-pager-view@next`
29
30
30
31
## Migration
31
32
32
33
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).
33
34
34
35
`"@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)
35
36
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:
0 commit comments