https://github.com/chentsulin/react-native-counter-ios-android
Minimal implement of redux counter example on ReactNative iOS and Android
https://github.com/chentsulin/react-native-counter-ios-android
Last synced: 9 months ago
JSON representation
Minimal implement of redux counter example on ReactNative iOS and Android
- Host: GitHub
- URL: https://github.com/chentsulin/react-native-counter-ios-android
- Owner: chentsulin
- Created: 2015-09-13T10:56:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T02:25:27.000Z (over 8 years ago)
- Last Synced: 2025-03-02T13:08:17.757Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 667 KB
- Stars: 238
- Watchers: 10
- Forks: 56
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-react-native - Redux Demo ★226 - Minimal implement of redux counter example on ReactNative iOS and Android (Open Source Apps / Other Platforms)
- fucking-awesome-react-native - Redux Demo ★226 - Minimal implement of redux counter example on ReactNative iOS and Android (Open Source Apps / Other Platforms)
- awesome-redux - react-native-counter-ios-android
- awesome-react-native - Redux Demo ★226 - Minimal implement of redux counter example on ReactNative iOS and Android (Open Source Apps / Other Platforms)
- awesome-react-native - Redux Demo ★226 - Minimal implement of redux counter example on ReactNative iOS and Android (Open Source Apps / Other Platforms)
- awesome-react-native - Redux Demo ★226 - Minimal implement of redux counter example on ReactNative iOS and Android (Open Source Apps / Other Platforms)
- fucking-awesome-redux - react-native-counter-ios-android
README
# 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
- [iOS setup](https://facebook.github.io/react-native/docs/getting-started.html#ios-setup)
- [Android setup](https://facebook.github.io/react-native/docs/android-setup.html#content)
#### Install npm dependecies
```sh
npm i
```
#### run iOS
Open `ios/ReduxCounterUniversal.xcodeproj` and hit run in Xcode.
or
```sh
react-native run-ios
```
#### run Android
```sh
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.
```sh
adb logcat -s 'ReactNative'
```
## Remote devtools
[chrome app](https://chrome.google.com/webstore/detail/remotedev/faicmgpfiaijcedapokpbdejaodbelph) (recommended)
See [remote-redux-devtools](https://github.com/zalmoxisus/remote-redux-devtools) for more information
## Upgrade Guide
[React Native Upgrading](http://facebook.github.io/react-native/docs/upgrading.html)
## Maintainers
- [C. T. Lin](https://github.com/chentsulin)
- [Chiara-yen](https://github.com/Chiara-yen)
## License
MIT © [C. T. Lin](https://github.com/chentsulin)