3

React Query – Introducing, Installing, and Configuring It

React Query is a library created to make it easier for React developers to manage their server state. It makes it easier for developers to overcome all the challenges that come with server state while making their applications faster, easier to maintain, and reducing many lines in their code.

In this chapter, you will be introduced to React Query and understand why it was created.

You will also get to know the main concepts of React Query – queries and mutations.

Once you have been introduced to React Query, we’ll install it in our application and identify the initial configurations we need to make in our code to get ready to use it fully.

By the end of this chapter, you will know all ...

Get State Management with React Query now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.