A
A
Andrey Okhotnikov2019-07-31 09:46:59
React
Andrey Okhotnikov, 2019-07-31 09:46:59

Redux not updating on back click in browser?

There is a basket of goods, I delete a product from it, redux is updated, everything works as it should, but when I click on the BACK button in the browser, I go to the desired page, but the readax again returns to the previous state (the product is not deleted). At the same time, there is a back button on the page that works through router.back - it works as it should.
The problem is in the browser button. How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sinneren, 2019-07-31
@sinneren

https://stackoverflow.com/questions/48834225/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question