Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(auth): config option for keeping data within redux when logging out #125
Do you want to request a feature or report a bug?
What is the current behavior?
What is the expected behavior?
NOTE Actual API may be different:
what about resources that have been loaded and are linked somehow to the status of the user?
This should be the correct approach IMHO, what do you think?
@TheGhoul21 That is the plan with the above mentioned API. In your case, you would preserve the list of data that was loaded as an anonymous user.
Even if you queries are at the same path, with different results if you are logged in or out, you could use