You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intended outcome: clearStore() should clear the existing cache and then execute the onClearStore callbacks
Actual outcome: clearStore() runs the onClearStore callbacks and then clears the cache, negating any operations that were performed within said callbacks.
The text was updated successfully, but these errors were encountered:
ds8k
changed the title
clearStore() works differently than resetStore()
clearStore() works differently than resetStore() - clears cache after callbacks
Apr 11, 2019
Intended outcome:
clearStore()
should clear the existing cache and then execute theonClearStore
callbacksActual outcome:
clearStore()
runs theonClearStore
callbacks and then clears the cache, negating any operations that were performed within said callbacks.How to reproduce the issue:
Looking at the code for
clearStore
shows exactly why this is happening:resetStore
works the way I would expect it to:Versions
The text was updated successfully, but these errors were encountered: