All Questions
1 question
5
votes
2
answers
12k
views
How to get updated state from Redux store using redux-toolkit after component has already rendered?
The functionality I am looking for is that of an e-commerce website. A click on the add-to-cart button adds product to cart. I am able to successfully achieve that by dispatching an action.
Post that ...