https://github.com/mrblueblue/react-native-alt-demo
A demo of React-Native + Flux(Alt) + ES6
https://github.com/mrblueblue/react-native-alt-demo
Last synced: 6 months ago
JSON representation
A demo of React-Native + Flux(Alt) + ES6
- Host: GitHub
- URL: https://github.com/mrblueblue/react-native-alt-demo
- Owner: mrblueblue
- Created: 2015-06-07T03:24:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T14:08:53.000Z (over 9 years ago)
- Last Synced: 2024-10-29T13:50:26.181Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 406 KB
- Stars: 102
- Watchers: 9
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-alt-demo
*Type in a location and see a stream of the most recent tweets for that location.*
This application demos [Alt/Flux](https://github.com/goatslacker/alt) and integration with [React-Native](https://github.com/facebook/react-native).
You can quickly bootstrap your React-Native development by using the application as a boilerplate example.
The application communicates with the Twitter and Google API via an [iojs server](https://github.com/mrblueblue/iojs-generators-example) I deployed to Heroku.
Build upon this as you wish!
### Getting Started
```
npm install
npm start
```### Organization
The root file entry point is `index.android.js` or `index.ios.js`. This points to `src/nav.js`, which renders `src/app.js`.
`src/nav.js` holds the all the logic related to app navigation. You can think of this a a 'router'.
`src/app.js` is the main application component that is hooked up to the Alt stores and actions.
### Contributing
All contributions are welcome!