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
Does using StoreAs in a firebaseConnect() query make the data load differently than just doing a normal query?
For example:
let's say I query '/comments' and then also ( '/comments' but storeAs: '/comments'), the data will load faster the latter way. Specifically, on the initial isLoaded for the former, only old data (previously in the Redux store) will be there, but in the former, the initial isLoaded will include all the new data as well.
Also, componentDidUpdate happens faster with the StoreAs.
Thank you!
The text was updated successfully, but these errors were encountered:
This is for the Firebase realtime database, btw.
Does using StoreAs in a firebaseConnect() query make the data load differently than just doing a normal query?
For example:
let's say I query '/comments' and then also ( '/comments' but storeAs: '/comments'), the data will load faster the latter way. Specifically, on the initial isLoaded for the former, only old data (previously in the Redux store) will be there, but in the former, the initial isLoaded will include all the new data as well.
Also, componentDidUpdate happens faster with the StoreAs.
Thank you!
The text was updated successfully, but these errors were encountered: