UNPKG

867 BJavaScriptView Raw
1/** @license React v0.0.0-experimental-94c0244ba
2 * react-unstable-cache.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */
9'use strict';function d(a){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+a,b=1;b<arguments.length;b++)c+="&args[]="+encodeURIComponent(arguments[b]);return"Minified React error #"+a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var e=require("react").createContext(null);function f(){this.resources=new Map}exports.CacheProvider=e.Provider;exports.createCache=function(){return new f};
10exports.readCache=function(){var a=e._currentValue;if(a instanceof f)return a;throw Error(d(356));};