MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / contextFactory

Function contextFactory

packages/react-renderer/src/context.ts:18–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18export function contextFactory() {
19 let context = (window as any).__appContext
20 if (!context) {
21 context = createContext({})
22 ;(window as any).__appContext = context
23 }
24 return context
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected