When dealing with external data in React it's easy for the async code to start piling up, your types to become a mess, and your component state to get out of hand.
React Query (a.k.a TanStack Query) takes care of all this for you.
Even if you just learn the basics you'll be able to clean up your code and get to take advantage of some really nice caching features.
In this course you'll learn all of this in under an hour:
I'be been using SWR a work, but for my next project I'm working on, React Query is what I'm going with. Really enjoyed this course Tomasz!
I’d used React Query on a project with my teammates adopting some of the more advanced options. Now I understand why they made those design decisions and can share with my team about the Dev Tools, which I’m not sure we currently use. This course covered all the use cases I would need for a given project. Although, I wasn’t sure if the instructor covered throttling the server-side calls, if that’s an option.
Clear and precisecommunication with
I did learn some things regarding the statuses of queries, type narrowing with isPending and how the devTools work.
Got me started! I appreciate that this course dug into the types.