Skip to content

esafirm/React-Native-Intro

Repository files navigation

React-Native-Intro

Demo app for "Introduction to React Native" talk

What can you learn from this

  • Basic React Native
    • Component
    • Component style
    • props and state
    • Navigator
    • Calling API and parsing JSON
  • Calling Java method with Native Module
  • Build APK

Requirement

  • node
  • react-native-cli
  • watchman (optional)

Install React Native

npm install -g react-native-cli

Install Watchman

OSX

brew install watchman

LINUX

git clone https://github.com/facebook/watchman.git
cd watchman
./autogen.sh
./configure
make
sudo make install

Run

npm install
react-native run-android

Build APK

cd android
./gradlew clean assembleRelease

License

MIT

About

Demo app for "Introduction to React Native" talk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published