Open
Description
What is the feature?
As for now, we can dispatch actionTypes.CLEAR_DATA
once user logout to clear all data inside firestore or preserve which collection inside firestore that we want to retain. but this feature request is focusing on removing specific tree via dispatch when user logout.
What version would this apply to?
latest
Do you have thoughts/examples on how the feature would be used (i.e. API)?
probably something like this:-
dispatch({ type: actionTypes.CLEAR_DATA, forget: { data: ['todos'], ordered: ['todos'] } })
Activity