Re:Show HN: Elemental – simple front ends in plain JavaScript
by k-taro56 on Friday May 29, 2026 @11:53AM
(#48324833)
What’s the difference between this and `React.createElement`?
Re:Show HN: Elemental – simple front ends in plain JavaScript
by fynyky on Friday May 29, 2026 @12:11PM
(#48325154)
The big difference is that you don't have to use all of React! Plus with the ability to run child functions, you inject arbitrary logic inline without having to break the declarative structure.
The syntax lets you build a DOM declaratively with plain nested functions. This lets you define logic and views cleanly in a single structure, instead of reasoning across separate UI layout and UI logic. This also means you can use bit by bit instead of having to overhaul a whole project to a framework.
I hope you find it as useful as I have! Would love to get feedback from having fresh eyes on it.