Skip to content
Projects

krzysu/reactjs-shopping-cart

View on GitHub

About

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

Web & Apps

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…