Exactly... My first thought seeing his composite is that it isn't much different than react, mercury and others... And imo JSX is easier to reason with.
> Exactly... My first thought seeing his composite is that it isn't much different than react
Yes. And in React composition is not done through string concatenation and values are escaped by default.
I'm not sure about mercury and others but React is first framework I've seen, and I've seen few, that does the composition (from the point of view of react user) exactly the way I'd do it. I had my own framework in PHP (before Rails happened) that did something similar. My components were server side could be composed freely and bundled not just html and js, but also php, css, images ... and could be extended in a way that allowed derived component to override inherited css, images, html, whatever. Flow of information was accidentally unidirectional (thanks to how HTTP works). But the important thing was idea of freely composable components (instead of pages, resources, views, templates, layouts or whatever)