UNPKG

dreamstate

Version:

Store management library based on react context and observers

1 lines 268 B
import{useState as r,createElement as o}from"react";import{createScope as e}from"./createScope.js";import{ScopeContext as t}from"./ScopeContext.js";function n(){return{value:e()}}function c(e){var c=r(n);return o(t.Provider,c[0],e.children)}export{c as ScopeProvider};