UNPKG

react

Version:

React is a JavaScript library for building user interfaces.

11 lines (10 loc) 867 B
/** @license React v0.0.0-experimental-94c0244ba * react-unstable-cache.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ '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}; exports.readCache=function(){var a=e._currentValue;if(a instanceof f)return a;throw Error(d(356));};