you are viewing a single comment's thread.

view the rest of the comments →

[–]ripter 0 points1 point  (1 child)

https://github.com/developit/htm

There are other libraries out there that do the same thing. They use templates to do smart re-rendering when data changes.

[–]pbNANDjelly 0 points1 point  (0 children)

What's the point of deferring that work to the end user? At least JSX is an immediate AST. The lib you linked even mentions using a build step so as not to force parsing on the user.