redux-toolkit
redux-toolkit copied to clipboard
Invalidating cache entry is not working
I have the following when I get an item and tag it with a property e.g a string
When I update the entity and change the string from say test-1 to test-2, after request is completed I navigate so that the url is pointing to /test-2 then after timeout i remove cache entry for test-1 as it no longer exists. However using InvalidateTags and Api.util doesnt seem to work, when i browse test-1 i still see cache data.