Skip to content

feat(auth): config option for keeping data within redux when logging out #125

Closed
@prescottprue

Description

@prescottprue

Do you want to request a feature or report a bug?
feature

What is the current behavior?
Every time a user logs out, all data is removed from redux

What is the expected behavior?
Providing the following config will preserve a list of todos when logging out:

NOTE Actual API may be different:

reactReduxFirebase(
fbConfig,
{
  preserveOnLogout: ['todos']
}
)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions