|
|
|
|
|
by ggregoire
2550 days ago
|
|
> the component factory pattern used by Typescene doesn’t sacrifice readability: <foo x="y">...</foo> simply turns into Foo.with({ x: "y" }, ...). The JSX version is more readable tho. It looks like HTML. Everybody knows HTML. |
|
The real feat here is getting rid of the hacky way that XML and/or template strings and JS are mixed together in the compiler, without sacrificing readability per se.