Description
Do you want to request a feature or report a bug?
Bug
(If this is a usage question, please do not post it here—post it on gitter. If this is not a “feature” or a “bug”, or the phrase “How do I...?” applies, then it's probably a usage question.)
What is the current behavior?
After logging out (using firebase.logout() method), the 'onlineUsers' and 'sessions' collection in RealtimeDB does not update immediately until I refresh the page.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.
- Config react-redux-firebase with { presence: 'onlineUsers', sessions: 'sessions' }
- Log in using firebase.login() method
- Log out using firebase.logout() method
What is the expected behavior?
'onlineUsers' and 'sessions' should update immediately after user log out from app.
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
I'm using the lastest version { "firebase": "^5.5.6", "react-redux-firebase": "^2.1.9"}