react-firebase-hooks
react-firebase-hooks copied to clipboard
Questions about performance (bandwidth usage)
I want to make sure I'm not using more bandwidth than I intend
If I have different components that are each using useList for firebase database, with
- the same location (/foo/bar)
- but different refs or a different query
Will firebase fetch the data twice, or does the backend websocket logic prevent loading the same queries/fetching the same data at once?
Thanks in advance!