generator-remoox
v0.0.1
Published
redux + react + webpack generator
Downloads
7
Maintainers
Readme
Remoox yeoman generator
Getting Started
What is Redux?
It's "Atomic Flux with hot reloading", a next-generation take on the Flux pattern with a few core philosophical design differences, including:
- Preserves the benefits of Flux, but adds other nice properties thanks to its functional nature.
- Prevents some of the anti-patterns common in Flux code.
- Works great in universal (aka "isomorphic") apps because it doesn't use singletons and the data can be rehydrated. ...
What is React?
React is a JavaScript library for building user interfaces.
- Just the UI: Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
- Virtual DOM: React abstracts away the DOM from you, giving a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using React Native.
- Data flow: React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.
Features include in this Generator:
- [x] Redux-based application architecture
- [x] React for rad components
- [x] WebPack for build pipeline and dev server awesomeness
- [x] Babel transpiler so you can use ES6 features
- [x] PostCSS preprocessor with autoprefixer support
- react-router and redux-router ( comming soon redux-simple-router )
Prerequisites
You must have Node.js w/NPM installed. I recommend installing via homebrew.
Also, generator-remoox
is a Yeoman generator. If you do not have Yeoman installed, first run:
$ npm install -g yo
Installing the generator
To install generator-remoox from npm, run:
$ npm install -g generator-remoox
Finally, initiate the generator:
$ yo remoox
How to run it on dev
You must clone this repo and then go into the directory and link it using npm
$ npm link
Then you can just:
$ yo remoox
License
MIT