Minimal implement of redux counter example on ReactNative iOS and Android

nornj-react-native-counter

This is a fork of chentsulin/react-native-counter-ios-android for NornJ template engine.

  • react - v16.6.1
  • react-native v0.57.7
  • redux v3
  • react-redux v4
  • redux-thunk v2
  • remote-redux-devtools v0.5
  • styled-components - v4
  • nornj - v0.4.17

How to run this Porject

Setup iOS and Android env

see

Install npm dependecies

npm i

run iOS

Open ios/ReduxCounterUniversal.xcodeproj and hit run in Xcode.

or

react-native run-ios

run Android

emulator -avd [your_emulator_name] -gpu on &
react-native run-android

On Mac using fn + F2 to open debug panel

Also you can use adb logcat to log some android debug messages.

adb logcat -s 'ReactNative'

GitHub