-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Cheng Gu edited this page Oct 27, 2018
·
3 revisions
FetchQL is a query client for GraphQL server works on both browser and Node(need fetch support, eg. node-fetch)
Now FetchQL distributes an ES module(./lib/fetchql.es.js
) by default and you can simply import FetchQL by import fetchql from 'fetchql'
.
For details, please refer to PR: Added support for ES modules by default.
- Source code has been moved into
./src
and distributed file goes to./lib
; - Distributed file(
./lib/fetchql.js
) is unminified now.
- lightweight
- wrap query methods
- easily set server-side
- get enum types by names (with cache)
- built-in interceptors
- request state callbacks
- written in ES2015 and modules