We could use this new react-query feature to significantly speed up our UI via caching requests in localstorage, but it does not support deserializing a BN from localstorage. If we refactored or hooks not to return BNs, we could use this new feature.
We could use this new react-query feature to significantly speed up our UI via caching requests in localstorage, but it does not support deserializing a BN from localstorage. If we refactored or hooks not to return BNs, we could use this new feature.
https://react-query.tanstack.com/plugins/createLocalStoragePersistor