SolidJSS
SolidJS2y ago
139 replies
zobweyt

Context with children(() => props.children) helper triggers an error

Hey! I've been trying to create a Stepper component in which I'd have StepperContext with its API. however, somehow I need to control the displayed children, I found the children helper but it doesn't work with context
https://playground.solidjs.com/anonymous/92dca985-17bc-4cbb-b2d8-d4b95fb33a33

am I missing something?
Quickly discover what the solid compiler will generate from your JSX template
Was this page helpful?