A maneira CERTA de consumir APIs REST no React usando React Query

In this video, I'll teach you how to elevate your asynchronous REST API requests in React using the TanStack Query library, also called React Query. TanStack Query offers a declarative way to write queries and mutations, as well as providing simple and efficient prefetch, synchronization, and caching mechanisms. 👉 Learn React JS, Next JS, Node, and much more! https://www.rocketseat.com.br/one?utm... 🎁 USE COUPON: KIPPERDEV 📌 Documentation: https://tanstack.com/query/v4/?from=r... 👉Follow me on Instagram!   / kipper.dev   00:16 Intro 00:26 Understanding the problem 04:41 Installing and configuring the library 06:03 Assembling GET requests 10:53 Typing API returns 13:55 Using isLoading 16:00 Using isError 18:05 Configuring Refetch 19:02 Assembling POST requests 23:23 Using isSuccess 23:50 Updating GET data