The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow. urql is a highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow. It's built to be both easy to use for newcomers to GraphQL, and extensible, to grow to support dynamic single-app applications and highly customized GraphQL infrastructure. In short, urql prioritizes usability and adaptability. As you're adopting GraphQL, urql becomes your primary data layer and can handle content-heavy pages through "Document Caching" as well as dynamic and data-heavy apps through "Normalized Caching". urql can be understood as a collection of connected parts and packages. When we only need to install a single package for our framework of choice.
Features
- One package to get a working GraphQL client in React, Preact, and Svelte
- Fully customisable behaviour via "exchanges"
- Logical but simple default behaviour and document caching
- Normalized caching via @urql/exchange-graphcache
- Easy debugging with the urql devtools browser extensions
- urql is a GraphQL client that exposes a set of helpers for several frameworks