7 Matching Annotations
- Oct 2020
-
facebook.github.io facebook.github.io
-
However, this would lead to further divergence. Tooling that is built around the assumptions imposed by template literals wouldn't work. It would undermine the meaning of template literals. It would be necessary to define how JSX behaves within the rest of the ECMAScript grammar within the template literal anyway.
-
-
gist.github.com gist.github.com
-
This is valid javascript! Or harmony or es6 or whatever, but importantly, it's not happening outside the js environment. This also allows us to use our standard tooling: the traceur compiler knows how to turn jsx`<div>Hello</div>`; into the equivalent browser compatible es3, and hence we can use anything the traceur compile accepts!
-
-
-
Doesn't require the use of transpiler or modifications to all JS tooling ever invented.
-
-
github.com github.com
-
Why struggle with custom Syntax DSLs when you can use one so widely supported?
-
It was only pragmatic to use a tool that basically gives you that all for free.
-
- Sep 2020
-
github.com github.com
-
One key advantage of 'HTML-plus' languages is that you don't actually need tooling in order to be productive — most editors give you out-of-the-box support for things like syntax highlighting (though imperfect, as JavaScript expressions are treated as strings) and auto-closing tags. Tools like Emmet work with no additional setup. HTMLx should retain that benefit.
-
benefited from a shared set of tools for syntax highlighting, autocomplete, linting and so on.
-