Linked Questions

Popular Questions

Resetting redux when rendering another component

Asked by At

I have a redux repository that stores a list of products that the buyer added to his cart. When switching to the cart (rendering the cart component), redux resets its state. I am using react-router-dom 6-12-1

I check all my code Provider is working I think on react-router-dom

Related Questions