Closed kethan closed 5 years ago
@kethan Hyperapp subscriptions (declarative layer to manage event streams), is a high-level abstraction not available for Superfine. This library is only a virtual DOM. If you want something like Hyperapp subscriptions, you're free to create your own.
Ok thanks. But how do I use props ?
@kethan You need to be more specific, your question doesn't make sense without some context.
@kethan Your virtual DOM requires a root node.
const view2 = html`
<div>
<${view} name="test" />
<${view} name="test" />
</div>
`;
cool it works. How can I send parameters apart from props something like view (props, state)?
Maybe this might help https://codepen.io/jorgebucaran/pen/LdLJXX @kethan
How to use props and subscription like in hyperap?