chanzuckerberg / single-cell-data-portal

The data portal supporting the submission, exploration, and management of projects and datasets to cellxgene.
MIT License
64 stars 14 forks source link

Upgrade React Query to get perf improvements #6222

Open tihuan opened 1 year ago

tihuan commented 1 year ago

Slack: @seve : It’d be super handy (esp. for our wmg queries) if we had this commit on our version of react-query. https://github.com/TanStack/query/commit/89bec2039324282a023e4e726ea6ae2e1c45178a

(https://czi-sci.slack.com/archives/C0247APK621/p1699647249298479)

tihuan commented 12 months ago

Per Seve, this easy win will improve GE improvement by preventing unnecessary re-rendering by leveraging new React Query feature

tihuan commented 12 months ago

It doesn't feel like the upgrade should take much effort, but since we're a few major versions behind, I marked it as 2 points so we can have time to test the upgrade properly