From bfad9a38eaaca0dc8507f530b450214cb7bc158b Mon Sep 17 00:00:00 2001 From: troZee <12766071+troZee@users.noreply.github.com> Date: Thu, 22 Sep 2022 18:06:07 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ef0cbaa4..f05dd514 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,12 @@ 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 @@ -33,6 +34,12 @@ In version **6.x** support for `transitionStyle` property has been dropped. More `"@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`