UNPKG

771 BJavaScriptView Raw
1'use strict';
2
3/**
4 * Number of milliseconds after the first client render that’s considered the
5 * hydration time; during which the
6 * [`useAutoLoad`]{@link useAutoLoad} React hook won’t load if the
7 * cache entry is already populated.
8 * @kind constant
9 * @name HYDRATION_TIME_MS
10 * @type {number}
11 * @example <caption>Ways to `import`.</caption>
12 * ```js
13 * import { HYDRATION_TIME_MS } from 'graphql-react';
14 * ```
15 *
16 * ```js
17 * import HYDRATION_TIME_MS from 'graphql-react/public/HYDRATION_TIME_MS.js';
18 * ```
19 * @example <caption>Ways to `require`.</caption>
20 * ```js
21 * const { HYDRATION_TIME_MS } = require('graphql-react');
22 * ```
23 *
24 * ```js
25 * const HYDRATION_TIME_MS = require('graphql-react/public/HYDRATION_TIME_MS');
26 * ```
27 */
28module.exports = 1000;