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
one way to optimize the process, which is actually already pretty fast, is to store variables with data from firebase somewhere they can be accessed if needed.
Like a middle point between calling them on every function:
maybe this can be done with a singleton that handles the variables and gets them from db only if they haven't been requested before (on that execution, obviously after the execution is done, data would be erased, but at least it's not local to each function)
The text was updated successfully, but these errors were encountered:
one way to optimize the process, which is actually already pretty fast, is to store variables with data from firebase somewhere they can be accessed if needed.
Like a middle point between calling them on every function:
and carrying them from the first function to the last one as parameters:
maybe this can be done with a singleton that handles the variables and gets them from db only if they haven't been requested before (on that execution, obviously after the execution is done, data would be erased, but at least it's not local to each function)
The text was updated successfully, but these errors were encountered: