You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing React Native and all necessary SDKs, cd to directory you want to place your project and start new project (we will call it asynctest in this example)
react-native init asynctest
cd asynctest
npm install async-reactor --save
Create new file in root directory, name it asyncTest.js and paste following code inside
Run react-native run-ios or react-native run-android in root directory and that's it!
You should see something like following screenshot if everything went well on both platforms:
Note:
For async-reactor version 1.0.2, open node_modules/async-reactor after installation and remove .babelrc file. Without this step, build will fail.
The text was updated successfully, but these errors were encountered:
This is just informative "issue" with React Native examples and instructions that can be used in documentation/readme later.
If you are new to React Native, first follow this guideline from Facebook https://facebook.github.io/react-native/docs/getting-started.html
After installing React Native and all necessary SDKs, cd to directory you want to place your project and start new project (we will call it
asynctest
in this example)react-native init asynctest cd asynctest npm install async-reactor --save
Create new file in root directory, name it
asyncTest.js
and paste following code insideOpen
index.android.js
andindex.ios.js
files, remove original code and paste following code in both filesRun
react-native run-ios
orreact-native run-android
in root directory and that's it!You should see something like following screenshot if everything went well on both platforms:
![async](https://cloud.githubusercontent.com/assets/24415496/24995502/b8065506-2037-11e7-9dcd-07c5b498ec2a.jpg)
Note:
For
async-reactor
version1.0.2
, opennode_modules/async-reactor
after installation and remove.babelrc
file. Without this step, build will fail.The text was updated successfully, but these errors were encountered: