compteur redux
Hello Redux Learner
Create a function Creator it will include type and payload object
From Function Creator we will Go to Reducers
Create a reducer for Increment and Decrement
Then Create a Root Reducer which we will send to store
Yes we will create a store Then
Go to Main Index file send the STORE through Provider
for sending in provider we need to subscribe() it cos its not free :)
For Getting the State useSelector() from react-redux
and for Updating State useDispatch() from react-Redux
Lets Go KING
Blue Baboon