UNPKG

atomic-state

Version:

Atomic State is a state management library for React

11 lines (10 loc) 366 B
'use client'; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AtomicState = void 0; const mod_1 = require("../mod"); const AtomicStateAsync_1 = require("./AtomicStateAsync"); const AtomicState = (typeof window === 'undefined' ? AtomicStateAsync_1.AtomicStateAsync : mod_1.AtomicState); exports.AtomicState = AtomicState;