Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.11 KB

EXAMPLE.md

File metadata and controls

34 lines (20 loc) · 1.11 KB

Examples

Using the Expo projects tool

If you're familliar with Expo, you can take a look at the rn-placeholder-demo app.

You can also scan the following QR using Expo app :

create-react-native-app

Using Example folder while running React Native is quite difficult due to react-native#637 and metro-bundler#1. Apologize for this weird step of moving the example folder...

If you're currently using create-react-native-app :

$ git clone https://github.com/mfrachet/rn-placeholder
$ cd rn-placeholder
$ mv ./Example ../ExampleRnPlaceholder
$ cd ../ExampleRnPlaceholder
$ npm install
$ npm start

And then scan the QR inside of the Expo app or run the following command :

$ npm run ios