JavaScript HTML CSS
Latest commit d3d7c6a Feb 16, 2017 @krzysu add redu dev tools to readme
Permalink
Failed to load latest commit information.
public products a rendered, styling is there Feb 16, 2017
src update readme Feb 16, 2017
.gitignore preparing for v2 Feb 15, 2017
README.md add redu dev tools to readme Feb 16, 2017
package.json update readme Feb 16, 2017

README.md

react.js shopping cart

example of shopping cart implemented in react.js and redux.js

for demo click here

getting started

install dependencies and start local dev server

npm install
npm start

details

  • build with create react app. Check their page for more details.
  • this example is using redux.js for application state management, to learn more about it I recommend this tutorial.
  • you can look under the hood directly from your browser using redux devtools. Install extension for your browser, open demo page (link above) and see how app state changes when you interact with it.
  • if you wonder why reducers, actions and selectors are all in one file inside folder called ducks, read more here.

TODO

  • add reducers and selectors unit tests

author: Kris Urbas @krzysu
licence: MIT