RTK Query

Libraries

Typed data fetching generated from the API schema, see the codegen practice.

A data-fetching layer inside Redux Toolkit that handles caching, invalidation and request lifecycle, and can generate its own hooks from an OpenAPI document.

How we use it

Generated from the backend schema, never hand-written. That is the whole point: the client cannot describe a route differently from the service that serves it.

12

systems