We use Tanstack Query for a lot of things, which helps with caching of calls and even caching in localstorage. But as it is right now we're only using this in top-level components because Tanstack Query uses hooks. But there is also a lot of data in the intermediate calls (e.g. getting token metadata) that could really benefit from caching.
We use Tanstack Query for a lot of things, which helps with caching of calls and even caching in localstorage. But as it is right now we're only using this in top-level components because Tanstack Query uses hooks. But there is also a lot of data in the intermediate calls (e.g. getting token metadata) that could really benefit from caching.