Paper Folding Effect With React Native

Paper Folding Effect

How to easily make an awesome paper folding effect!

Features

  1. High Performance : No problem in low-end devices
  2. Low Dependency : Uses only ART
  3. All Platforms : Works on iOS/Android
  4. Hooks : All function components with hooks
  5. 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. :)

GitHub