Git Product home page Git Product logo

Comments (6)

Yuripetusko avatar Yuripetusko commented on August 20, 2024 1

Despite docs mentioning tanStack react-query on getting started / wagmi provider docs, I've seen a lot of people still not understanding that all hooks are wrapped with react-query and response fields mimic that of react query as well as that query options. So IMO it's a good idea to remind people about it somewhere and link to react-query docs perhaps

from wagmi.

tmm avatar tmm commented on August 20, 2024 1

Yeah down for linking to it somewhere. Also, not all hooks use TanStack Query, e.g. useAccount, useConfig, useClient, but point taken!

from wagmi.

tmm avatar tmm commented on August 20, 2024 1

We mention TanStack Query in a bunch of places already and it's the first guide in the guides section so closing this for now. Feel free to open a PR with something more actionable. Incomplete list of places it's mentioned:

from wagmi.

tmm avatar tmm commented on August 20, 2024

Seems like the thing that trips folks up (or at least what we see a lot) is setting args dynamically, e.g. with useState. Think it makes the most sense to add a section with this to the TanStack Query section of the docs.

from wagmi.

codingwithmanny avatar codingwithmanny commented on August 20, 2024

Definitely open to having anything mentioned or emphasized, to get devs just use the idea that they can control hooks/requests better.

from wagmi.

github-actions avatar github-actions commented on August 20, 2024

This issue has been locked since it has been closed for more than 14 days.

If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.

from wagmi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.