UNPKG

react-native-global-state-hooks

Version:

This is a package to easily handling global-state across your react-native-components No-redux... The library now includes @react-native-async-storage/async-storage to persist your state across sessions... if you want to keep using the old version without

1 lines 965 B
var e;e=e=>(()=>{"use strict";var t={439:t=>{t.exports=e}},a={};function o(e){var r=a[e];if(void 0!==r)return r.exports;var s=a[e]={exports:{}};return t[e](s,s.exports,o),s.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.useStableState=void 0;var t=o(439);Object.defineProperty(e,"useStableState",{enumerable:!0,get:function(){return t.useStableState}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return(e=t,e&&e.__esModule?e:{default:e}).default;var e}})})(),r})(),"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react-hooks-global-states/useStableState")):"function"==typeof define&&define.amd?define(["react-hooks-global-states/useStableState"],e):"object"==typeof exports?exports["react-native-global-state-hooks"]=e(require("react-hooks-global-states/useStableState")):this["react-native-global-state-hooks"]=e(this["react-hooks-global-states/useStableState"]);