IdiomaticReact
Idiomatic React aims to be the simplest API-centric Flux app one could build using React.
It's complemented by Idiomatic React Chat (on the branch chat
of this repository), implementing Facebook's Flux Chat app.
Currently, it uses :
- React 0.13.x with JSX;
- Geiger, a tiny flux implementation (<50 SLOC) with Dependency Injection features;
- React-Router for the routing;
- Immutable.js for immutability in the stores;
- Babel for ES6/ES7 transpilation and linting;
- Webpack for the tooling.
Install & run
git clone https://github.com/netgusto/IdiomaticReact
cd IdiomaticReact
npm install
grunt serve
Then navigate to http://localhost:8000
Screenshot
Features
- Routing, with stateful navigation bar
- ES6/ES7 transpilation to ES5, allowing ES6 constructs and ES7
await/async
in the code - REST API adapter to I/O data, bufferring in stores
- Immutable stores
Motive
Considering the frequent mutation of technology happening on the React scene, we believe developers might feel the need for a simple, idiomatic app reflecting the current state of the technology and techniques, be it for bootstrapping awesome apps, or simply to improve their skills.
This project aims to be simple and idiomatic. We're not there yet, and we rely heavily on contributors (on you !) to make this happen.
Contribute
Please, issues with PR only, and proper explanation of the improvement / simplification.
License
The MIT License (MIT). See the LICENSE file.