dreamstate
Version:
Store management library based on react context and observers
14 lines (11 loc) • 427 B
JavaScript
import { createContext } from 'react';
/**
* React context reference for the Dreamstate scope, used to wrap the virtual DOM tree.
* This context allows the React tree to be aware of the current scope and provides access
* to context management functionalities within the Dreamstate data flow.
*/
var ScopeContext = createContext(null);
{
ScopeContext.displayName = "Dreamstate.ScopeContext";
}
export { ScopeContext };