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
- Host: GitHub
- URL: https://github.com/actionhero/actionhero-react-native-example
- Owner: actionhero
- Created: 2017-08-16T23:30:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T02:46:43.000Z (about 6 years ago)
- Last Synced: 2025-04-30T22:13:15.637Z (about 1 year ago)
- Language: JavaScript
- Size: 1.75 MB
- Stars: 16
- Watchers: 2
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ActionHero React Native WebSocket Example
This example talks to the server at demo.actionherojs.com

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`)!