ClearskyApp06 / ClearskyUI

GNU Affero General Public License v3.0
7 stars 6 forks source link

Gradually replace custom API caching with react-query #122

Open jordyvandomselaar opened 1 week ago

jordyvandomselaar commented 1 week ago

At the moment, the front-end's API calls use a custom caching layer. We can make this significantly simpler by using something like react-query to handle the caching for us.

This will also make it easier to run API calls concurrently by default by making concurrency an opt-out experience rather than opt-in

We are currently replacing API calls with react-query incrementally. Conversion list:

AshishDhama commented 1 week ago

Do check tanstack query if my memory serves me right bluesky also use it.