GithubHelp home page GithubHelp logo

Add tanstack query. about taxonomy HOT 3 OPEN

shadcn-ui avatar shadcn-ui commented on July 26, 2024 1
Add tanstack query.

from taxonomy.

Comments (3)

shadcn avatar shadcn commented on July 26, 2024 9

Ideally any production project is going to need a library like tanstack/react query.

Yep. I've yet to work on a Next.js app where I did not use react-query.

However, the reason I've not added it (yet) is, the Next team is currently looking into new ways for fetching data, mutating, caching and invalidating in server components.

I want to see how far we can go with just Next before we need react-query.

I'll come back to this when we do.

from taxonomy.

Eduard-Hasa avatar Eduard-Hasa commented on July 26, 2024

@shadcn im surprised I dont see custom hooks wrapping tanstack hooks more often to add type safety. I got a pretty cool setup where im using tanstack query at introduced type safety manually instead of using something like trpc and it has worked great for me. Would love to chat about your thoughts on the best approach.

from taxonomy.

fergiar avatar fergiar commented on July 26, 2024

I would love to see the option to use RQ in this project. I have seen some examples around that show how to set up RQ to work with SSR but I think that at the current state it's just an overhead.

from taxonomy.

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.