React Query logoIn an app that I’ve recently worked on, I had to interact with 2 different APIs: a typical JSON-based API from a django project, as well as a “real-time API” which was coming directly from Firebase. That meant that, when reading data, I had to sometimes read them from Firebase and sometimes from another JSON API. I wanted used react-query for my remote data management needs, while
![A real-time hook with Firebase & React-Query](https://cdn-ak-scissors.b.st-hatena.com/image/square/41eb985832f8bbd2a2b0e3b390be6d61d56bbf9a/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AvD4mY6iEQ34HTcAYyPTlnw.png)