SolidJSS
SolidJSโ€ข3mo agoโ€ข
7 replies
fewbar

Function as signal value

Using the accessor of createSignal<null | (x:any)=>...>() doesn't work as expected. I need to wrap the function in an array or object for it to become callable. What's the purpose of that behavior?
Was this page helpful?