prescottprue / react-redux-firebase

Redux bindings for Firebase. Includes React Hooks and Higher Order Components.
https://react-redux-firebase.com
MIT License
2.55k stars 559 forks source link

high reads in middleware #1021

Closed sbaraka closed 3 years ago

sbaraka commented 3 years ago

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? high reads when setting up as middleware. 10 document reads turn into 300 when page is only navigated to once

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.

no code to show

What is the expected behavior? To only read when navigated to

Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups? Chrome