Open MbBrainz opened 8 months ago
Big libraries in EVM client world have also adopted the Tanstack-Query@v5 for a few months now: https://wagmi.sh/react/guides/migrate-from-v1-to-v2 https://github.com/wevm/wagmi/releases/tag/%40wagmi%2Fcore%402.0.1
Thanks! We've put it on our backlog :) will take a look w team asap!
Im happy to implement and pr, just dont know where to start
Would be amazing!
This is much needed !
TanStack Query v5 has been looking 👌 would be cool
hey @MbBrainz you can help by giving me a template/sketch of the changes, see our fixture here
https://github.com/CosmWasm/ts-codegen/blob/main/__output__/sg721/Sg721.react-query.ts
I'm also thinking we should rename the feature/option from react-query
to tanstack
#143
@pyramation I made the necessary changes to sg721.react-query.ts
to be compatible with tanstack/react-query@5.x
in this pull request. I installed that dep locally and checked the types. This should be completely functional.
In case anything is not clear, the migration guide migrating-to-v5 is very helpful.
@pyramation checkout my template sketch
Any update on this?
Tanstack query has had a major version upgrade from v4 to v5 and there are some interesting benefits of having v5.
The migration guide to migrate from v4 to v5 can be found here: migrating-to-v5
I'd love to add the feature myself, but i dont have any experience with typescript code generation. The changes itself shouldnt be too hard and if someone wants to implement it or give me a little hint or example on where to start, then please!