Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.