A minimal shopping cart concept built with ReactJS
This shopping cart concept is my attempt to learn the ReactJS library. This is also an example of how data flows in React (unidirectional). Please check out the code for more information.
- HTML & CSS.
- JavaScript (ES6).
- React.
- NodeJS & npm.
- The
create-react-app
template.
- Download this repo.
- Install NodeJS and npm.
- On the terminal,
cd
to the repo. - Type
npm install
to install the required dependencies. - Type
npm start
to run. The app will show up under a local development server.
- Since in JavaScript objects and arrays are assigned by reference, we must be more careful when mutating the values of objects and arrays.
MIT License
Copyright (c) 2019 William