UNPKG

jotai

Version:

👻 Next gen state management that will spook you

2 lines (1 loc) • 694 B
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jotai-redux")):"function"==typeof define&&define.amd?define(["exports","jotai-redux"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jotaiRedux={},e.JotaiRedux)}(this,(function(e,t){"use strict";function o(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(o){if("default"!==o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}})),t.default=e,Object.freeze(t)}var n=o(t);e.atomWithStore=function(){return console.warn("[DEPRECATED] use `jotai-redux` instead."),n.atomWithStore.apply(n,arguments)}}));