Example

expo

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

You can also scan the following QR using the 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

You can now scan the QR code displayed inside the console or choose to run a simulator / emulator by running the provided key value (like i to start an iPhone simulator).

results matching ""

    No results matching ""