Danny
Danny
SSolidJS
Created by gerard on 8/1/2024 in #support
Pass props from Component to props.children
Since the component Child is already called when you do <Child /> you cannot pass any props to it. You could instead pass a function and then props.children would be that function that you can call and pass the props.
10 replies
SSolidJS
Created by xxttt on 7/12/2024 in #support
Cleanup function
I'm not really familiar with floating-ui but from what I can see, autoUpdate() calls the update funtion 3 times by itself if you do nothing. If you immediatly call the clean up function, it is only called once.
19 replies