Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishal101022/redux-cart
Implement redux features
https://github.com/vishal101022/redux-cart
react redux
Last synced: about 1 month ago
JSON representation
Implement redux features
- Host: GitHub
- URL: https://github.com/vishal101022/redux-cart
- Owner: Vishal101022
- Created: 2023-01-10T04:47:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T16:09:11.000Z (almost 2 years ago)
- Last Synced: 2023-08-01T05:01:54.099Z (over 1 year ago)
- Topics: react, redux
- Language: JavaScript
- Homepage: https://vishal101022.github.io/Redux-Cart/
- Size: 646 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redux-Cart
## This was a dummy app, where i had to put all redux features to make apps interactive.
## :open_book: things i learned
1. installing redux toolkit
1. creating the store and configure it with the appropriate reducers and middleware.
1. using the store to manage the state of app and dispatch actions to update the state.
1. providing store in index.js
1. don't mutate the current.state.value directly write logic instead in SliceReducer## :hammer_and_wrench: how to run
Clone down this repository. You will need ```node.js``` and ```git``` installed globally on your machine.
In the project directory, you can run:
1. ```npm install @reduxjs/toolkit react-redux```
2. ```npm start```Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
**Note:** The page will reload if you make edits.You may also see any lint errors in the console.