-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dispatch({ type: actionTypes.CLEAR_DATA }) does not clear 'queries' and 'composite' #418
Comments
I tested the fix I introduced in PR #421 but it's not actually working - I don't understand the code enough to be able to know why, so if anyone interested in having this solved, and can help fixing it, I'd be happy to get corrected. Thanks. |
It's working now - I forgot to build the package. |
While 'data' and 'ordered' do clear, 'queries' and 'composite' (both contain actual data) remain using
dispatch({ type: actionTypes.CLEAR_DATA })
and even after unsetting all listeners.I found no way to clear them other than reloading the page - not very elegant.
The text was updated successfully, but these errors were encountered: