News for hackers. Stuff that matters.
Re:Front-end design, React, and a bridge over the great divide by kylecordes on Thursday July 18, 2019 @10:53PM (#20475827)
I totally get the preference for the JSX approach. Also echoing other commenters, CLJS/reagent and similar tools did a pretty amazing job of this some years ago.

But I think it is wise to consider that there are advantages and trade-offs to a compiled template approach as used by Angular, Svelte, and probably some others I’m forgetting.

* potentially more concise syntax

* potentially more familiar syntax

* do more of the work at compile time, less of it at runtime in downloaded code

* avoid the GC pressure and other overhead of VDOM

There are no comments on this comment yet.