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

https://github.com/actionhero/actionhero-react-native-example

An example react-native project using websockets and react-native to talk to actionhero
https://github.com/actionhero/actionhero-react-native-example

Last synced: about 1 year ago
JSON representation

An example react-native project using websockets and react-native to talk to actionhero

Awesome Lists containing this project

README

          

# ActionHero React Native WebSocket Example

This example talks to the server at demo.actionherojs.com

![screenshot](https://raw.githubusercontent.com/actionhero/actionhero-react-native/master/screenshot.png)

1) run `./bin/generateLib` to generate the client Primus Library we'll be using in our React Native Client.
2) Explore `./components/client` to see the (almost) 1-for-1 port of actionHeroClient JS library (which is generated by the actionhero server for browser clients from [this](https://github.com/actionhero/actionhero/blob/master/client/actionheroClient.js) template)

run the example (`npm run ios`)!