I am trying to render a component using a JSON layout and the layout has some state bindings which are createSignals internally. I would like to handle the hideComponent binded to a state value. To render the JSON to DOM I am using hyperscript.
So is there ability to just pass hide prop to h method which is signal and it automatically handles remove from DOM and add it to DOM? Like how _$insert does for JSX
I am trying to render a component using a JSON layout and the layout has some state bindings which are createSignals internally. I would like to handle the hideComponent binded to a state value. To render the JSON to DOM I am using hyperscript.
So is there ability to just pass hide prop to h method which is signal and it automatically handles remove from DOM and add it to DOM? Like how _$insert does for JSX