You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to pause/stop withObservable()?
Why? When working with react-navigation, the screen does not get unmounted, which means the withObservable() keeps on running, even if the screen is not focussed anymore. Assuming there are five or six screens connected to a rather large table, this would result in performance issue because all the screens would continiously read from the database (if there are changes), eventhough the screen is not in focus.
The text was updated successfully, but these errors were encountered:
Stophface
changed the title
pause withObservables()
Is there a way to pause/stop withObservables()
Dec 29, 2022
Is there a way to pause/stop
withObservable()
?Why? When working with
react-navigation
, the screen does not get unmounted, which means thewithObservable()
keeps on running, even if the screen is not focussed anymore. Assuming there are five or six screens connected to a rather large table, this would result in performance issue because all the screens would continiously read from the database (if there are changes), eventhough the screen is not in focus.The text was updated successfully, but these errors were encountered: