jotai
Version:
👻 Next gen state management that will spook you
2 lines (1 loc) • 1.27 kB
JavaScript
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("jotai-devtools")):"function"==typeof define&&define.amd?define(["exports","jotai-devtools"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).jotaiDevtools={},e.JotaiDevtools)}(this,(function(e,o){"use strict";function t(e){var o=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})}})),o.default=e,Object.freeze(o)}var s=t(o);e.useAtomDevtools=function(){return console.warn("[DEPRECATED]: use `jotai-devtools` instead."),s.useAtomDevtools.apply(s,arguments)},e.useAtomsDebugValue=function(){return console.warn("[DEPRECATED]: use `jotai-devtools` instead."),s.useAtomsDebugValue.apply(s,arguments)},e.useAtomsDevtools=function(){return console.warn("[DEPRECATED]: use `jotai-devtools` instead."),s.useAtomsDevtools.apply(s,arguments)},e.useAtomsSnapshot=function(){return console.warn("[DEPRECATED]: use `jotai-devtools` instead."),s.useAtomsSnapshot.apply(s,arguments)},e.useGotoAtomsSnapshot=function(){return console.warn("[DEPRECATED]: use `jotai-devtools` instead."),s.useGotoAtomsSnapshot.apply(s,arguments)}}));