MCPcopy Create free account
hub / github.com/tinyplex/tinybase / renderPrimitive

Function renderPrimitive

test/unit/core/ui-solid/primitives.test.ts:188–193  ·  view source on GitHub ↗
(primitive: () => void)

Source from the content-addressed store, hash-verified

186 ({destroy: vi.fn()}) as unknown as TestSynchronizer;
187
188const renderPrimitive = (primitive: () => void) => {
189 return createRoot((dispose) => {
190 primitive();
191 return dispose;
192 });
193};
194
195type Props = {[key: string]: unknown};
196type SolidComponent = (props: Props) => JSXElement;

Callers 1

primitives.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…