UNPKG

react-async-states

Version:

A low-level multi paradigm state management library

9 lines (6 loc) 300 B
import * as React from 'react'; let Context = React.createContext(null); let maybeWindow = typeof window !== "undefined" ? window : undefined; let isServer = typeof maybeWindow === "undefined" || "Deno" in maybeWindow; export { Context, isServer, maybeWindow }; //# sourceMappingURL=context.js.map