generator-rd-react
React Generator
Last updated 3 years ago by sean.lee .
ISC · Original npm · Tarball · package.json
$ cnpm install generator-rd-react 
SYNC missed versions from official npm registry.

This is a template project written with React.js.

React.js is a javascript library developed and used by Facebook which is known for the ease of creating web components.

React only takes care of the view, the presentational layer of the application.

So, in order to use it in production, it needs other helper libraries for handling XHR Requests and Data Flow.

And my choice for such libraries are Axios(XHR Request) and Redux(Data Flow).

Axios is a promise based HTTP client for the browser and node.js and

Redux is a variation of Flux created by Dan Abramov which started with an idea of immutable states and having just one store for all data.

Here are a couple of good reads on Redux and it's smart and dumb components architecture.

http://jaketrent.com/post/smart-dumb-components-react/

https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.cj0ftj4ce

The template uses MongoDB and Express.js for the Backend.

In order to bootstrap the demo, run mongodb locally and point it from /config/config.js then run npm install and then npm start.

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (44)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |