Hi 👋 ,
I am setting up a Databricks web app, starting from the databricks apps init and hit a few snags. I will start by reporting two of them.
useAnalyticsQuery does not deduplicate identical requests across hook instances on main.
If multiple components call the hook with the same queryKey and the same parameters, each instance creates its own request instead of sharing a single in-flight request. I foresee using the same data in a few different places. It would be great to deduplicate the calls under the hood in useAnalyticsQuery instead of either managing it on my side, or having to write a data layer from scratch.
Hi 👋 ,
I am setting up a Databricks web app, starting from the
databricks apps initand hit a few snags. I will start by reporting two of them.useAnalyticsQuery does not deduplicate identical requests across hook instances on main.
If multiple components call the hook with the same queryKey and the same parameters, each instance creates its own request instead of sharing a single in-flight request. I foresee using the same data in a few different places. It would be great to deduplicate the calls under the hood in
useAnalyticsQueryinstead of either managing it on my side, or having to write a data layer from scratch.