Comment

Comment by lukejacksonn

Haha! The main advantage I see in a syntax like this (as supposed to h by hyperapp for example) is.. not having to write `h` all the time, that and optional props.

I have been thinking of adding shorthand for id/classes in the tag name like hyperscript or JSnoX.

That would mean you could write `['input#search.large']`

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton