Skip to content

options to remove specific tree on firestore once logout #212

Open
@MrHazimAli

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions