React-cache sometimes falls into infinite loop
szogun1987 opened this issue · 0 comments
szogun1987 commented
Describe the bug
An application that uses cache sometimes freezes,
To Reproduce
Steps to reproduce the behavior:
- Create a component that uses a cached value with the given key
- Create another component that uses a cached value with the same key
- Remove the second component from the components tree
- Write a new value for the watched key
- Application freezes
Expected behavior
The remaining component should be refreshed,
Screenshots
None
Desktop (please complete the following information):
- OS: found on Windows and Mac
- Browser: found on Edge, Chrome, Safari and Firefox
- Version: pretty current
Smartphone (please complete the following information):
Not tested on mobile
Additional context
PR is already prepared