Paper Folding Effect With React Native
Paper Folding Effect
How to easily make an awesome paper folding effect!
Features
- High Performance : No problem in low-end devices
- Low Dependency : Uses only ART
- All Platforms : Works on iOS/Android
- Hooks : All function components with hooks
- No errors : Flow & eslint all passed
How to build and run
$ git clone https://github.com/ifsnow/PaperFoldingEffect.git
$ cd PaperFoldingEffect
$ yarn install
$ cd ios
$ pod install
$ cd ..
$ react-native run-ios
Reason for using ART instead of react-native-svg
ART
is a built-in library included in the core up to RN 0.61. I know react-native-svg
provides more functionality, but I wanted to show you how to implement it with low dependency. :)