UNPKG

react-hooks-global-states

Version:

A package to easily handle global state across your React components using hooks.

1 lines 2.58 kB
var e,r;e=this,r=(e,r,t,o,n,a,i,s)=>(()=>{"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},943:e=>{e.exports=s}},c={};function u(e){var r=c[e];if(void 0!==r)return r.exports;var t=c[e]={exports:{}};return l[e](t,t.exports,u),t.exports}var j={};return(()=>{var e=j;Object.defineProperty(e,"__esModule",{value:!0}),e.createContext=e.actions=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 s=u(943);Object.defineProperty(e,"actions",{enumerable:!0,get:function(){return s.actions}});var l=u(623);Object.defineProperty(e,"createContext",{enumerable:!0,get:function(){return l.createContext}})})(),j})(),"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"),require("./actions.js")):"function"==typeof define&&define.amd?define(["./uniqueId.js","./throwWrongKeyOnActionCollectionConfig.js","./isRecord.js","./createContext.js","./createGlobalState.js","./shallowCompare.js","./GlobalStore.js","./actions.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"),require("./actions.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"],e["./actions.js"]);