All Projects → chentsulin → React Native Counter Ios Android

chentsulin / React Native Counter Ios Android

Minimal implement of redux counter example on ReactNative iOS and Android

Programming Languages

javascript
184084 projects - #8 most used programming language

react-native-counter-ios-android

Minimal implement of redux counter example on ReactNative iOS and Android

I don't use any syntax out of React Native's enabled transformations, so no any patch on ReactNative is needed.

  • react - v15.4
  • react-native v0.39
  • redux v3
  • react-redux v4
  • redux-thunk v2
  • remote-redux-devtools v0.5

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'

Remote devtools

chrome app (recommended)

See remote-redux-devtools for more information

Upgrade Guide

React Native Upgrading

Maintainers

License

MIT © C. T. Lin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].