GraphQL

/ˈɡræf.kjuː.ɛl/

n. “A smarter way to ask for exactly the data you need.”

GraphQL is a query language and runtime for APIs, originally developed by Facebook, that allows clients to request precisely the data they need from a server, no more and no less. Unlike traditional REST APIs, where endpoints return fixed structures, GraphQL gives clients the flexibility to shape responses, reducing over-fetching and under-fetching of data.

Key characteristics of GraphQL include:

React-Query

/riˈækt ˈkwɛri/

n. “Data fetching without the drama.”

React Query is a data-fetching and state synchronization library for React applications. It simplifies the management of server state — that is, data that lives on a backend API or database — and keeps it in sync with the UI without the need for complex Redux setups or manual caching.