An open API service indexing awesome lists of open source software.

https://github.com/maxmellon/react-native-websock-sample

react-native/redux/hard-reducer/redux-saga/flow/socket.io example
https://github.com/maxmellon/react-native-websock-sample

Last synced: 10 months ago
JSON representation

react-native/redux/hard-reducer/redux-saga/flow/socket.io example

Awesome Lists containing this project

README

          

# react-native-websock-sample

![](./.github/demo.gif)

## Environment

- react-native: *(expo) generate by create-react-native-app*
- react-native-gifted-chat
- react-navigation
- native-base
- redux
- hard-reducer: *type safe reducer with flow*
- redux-saga: *alternative side effect model for Redux*
- react-redux
- socket.io
- flow

## Start development

### client

```bash
$ yarn install
$ yarn run start:server # enable live reloading by react-native-scripts
```

- with react-native-debugger

```bash
$ brew cask install react-native-debugger
$ open "rndebugger://set-debugger-loc?host=localhost&port=19001"
```

### server

```bash
$ cd server && yarn install && cd ..
$ yarn run start:server # enable live reloading by pm2
```