MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / createComponent

Function createComponent

examples/sandbox/src/App.tsx:116–120  ·  view source on GitHub ↗
(content: () => s.JSX.Element)

Source from the content-addressed store, hash-verified

114}
115
116const createComponent = (content: () => s.JSX.Element) => {
117 const Content = () => <div>{content()}</div>
118 Content.displayName = 'createComponent.Content'
119 return Content
120}
121
122const [someUnusedTopLevelSignal, setSomeUnusedTopLevelSignal] = s.createSignal(123)
123

Callers 1

AppFunction · 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…