

GitHub - FormidableLabs/urql: Universal React Query Library
source link: https://github.com/FormidableLabs/urql
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
✨ 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. It's built to be highly customisable and versatile so you can take it from getting started with your first GraphQL project all the way to building complex apps and experimenting with GraphQL clients.
While GraphQL is an elegant protocol and schema language, client libraries today typically come with large API footprints. We aim to create something more lightweight instead.
Installation
yarn add urql graphql # or npm install --save urql graphql
📃Documentation
The documentation contains everything you need to know about urql
, and contains several sections in order of importance
when you first get started:
- Basics — contains the "Getting Started" guide and all you need to know when first using
urql
. - Main Concepts — explains how
urql
functions and is built and covers GraphQL clients in general, on the "Philosophy" page. - Advanced — covers more uncommon use-cases and things you don't immediately need when getting started.
- Graphcache — documents "Normalized Caching" support which enables more complex apps and use-cases.
- API — the API documentation for each individual package.
You can find the raw markdown files inside this repository's docs
folder.
Maintenance Status
Active: Formidable is actively working on this project, and we expect to continue work on this project for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
Recommend
-
162
webpack-dashboard A CLI dashboard for your webpack dev server What's this all about? When using webpack, especially for a dev server, you are probably used to seeing something like this:
-
132
webpack-dashboard A CLI dashboard for your webpack dev server What's this all about? When using webpack, especially for a dev server, you are probably used to seeing something like this:
-
109
-
86
Introducing URQL (beta), a Universal React Query Library30 January 2018By
-
41
README.md prism-react-renderer ?️ A lean Prism highlighter component for React Comes...
-
50
Universal pan and zoom library
-
34
README.md react-ssr-prepass
-
51
README.md runpkg the online package explorer Runpkg turns a static file into an interactive and informative browsing...
-
30
Early 2018 we released the first version of our minimalist GraphQL client urql . For the last year, we’ve been rethinking, rearchitecting, and rebuilding the core of the library, and a few months ago we s...
-
13
Vue Demi (half in French) is a developing utility allows you to write Universal Vue Libraries for Vue 2 & 3See more details in t...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK