UNPKG

graphql-react

Version:

A GraphQL client for React using modern context and hooks APIs that’s lightweight (< 4 kB) but powerful; the first Relay and Apollo alternative with server side rendering.

11 lines (8 loc) 318 B
// @ts-check /** @typedef {import("./useAutoLoad.mjs").default} useAutoLoad */ /** * Number of milliseconds after the first client render that’s considered the * hydration time; during which the {@linkcode useAutoLoad} React hook won’t * load if the cache entry is already populated. */ export default 1000;