UNPKG

react-hooks-global-states

Version:

This is a package to easily handling global-state across your react-components using hooks.

1 lines 2.37 kB
var e,r;e=this,r=(e,r,t,o,n,a,i)=>(()=>{"use strict";var l={78:r=>{r.exports=e},361:e=>{e.exports=r},487:e=>{e.exports=t},623:e=>{e.exports=o},670:e=>{e.exports=n},673:e=>{e.exports=a},778:e=>{e.exports=i}},s={};function u(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={exports:{}};return l[e](t,t.exports,u),t.exports}var c={};return(()=>{var e=c;Object.defineProperty(e,"__esModule",{value:!0}),e.createContext=e.isRecord=e.throwWrongKeyOnActionCollectionConfig=e.uniqueId=e.shallowCompare=e.createGlobalState=e.GlobalStore=void 0;var r=u(778);Object.defineProperty(e,"GlobalStore",{enumerable:!0,get:function(){return r.GlobalStore}});var t=u(670);Object.defineProperty(e,"createGlobalState",{enumerable:!0,get:function(){return t.createGlobalState}});var o=u(673);Object.defineProperty(e,"shallowCompare",{enumerable:!0,get:function(){return o.shallowCompare}});var n=u(78);Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return n.uniqueId}});var a=u(361);Object.defineProperty(e,"throwWrongKeyOnActionCollectionConfig",{enumerable:!0,get:function(){return a.throwWrongKeyOnActionCollectionConfig}});var i=u(487);Object.defineProperty(e,"isRecord",{enumerable:!0,get:function(){return i.isRecord}});var l=u(623);Object.defineProperty(e,"createContext",{enumerable:!0,get:function(){return l.createContext}})})(),c})(),"object"==typeof exports&&"object"==typeof module?module.exports=r(require("./uniqueId.js"),require("./throwWrongKeyOnActionCollectionConfig.js"),require("./isRecord.js"),require("./createContext.js"),require("./createGlobalState.js"),require("./shallowCompare.js"),require("./GlobalStore.js")):"function"==typeof define&&define.amd?define(["./uniqueId.js","./throwWrongKeyOnActionCollectionConfig.js","./isRecord.js","./createContext.js","./createGlobalState.js","./shallowCompare.js","./GlobalStore.js"],r):"object"==typeof exports?exports["react-hooks-global-states"]=r(require("./uniqueId.js"),require("./throwWrongKeyOnActionCollectionConfig.js"),require("./isRecord.js"),require("./createContext.js"),require("./createGlobalState.js"),require("./shallowCompare.js"),require("./GlobalStore.js")):e["react-hooks-global-states"]=r(e["./uniqueId.js"],e["./throwWrongKeyOnActionCollectionConfig.js"],e["./isRecord.js"],e["./createContext.js"],e["./createGlobalState.js"],e["./shallowCompare.js"],e["./GlobalStore.js"]);