Re:Angular v8.0
by lostjohnny on Thursday May 30, 2019 @05:59AM
(#20049718)
> JS and JSX are isomorphic
They are not
Or, if they are, they are in the same way of a custom XML templating language that can be translated to a specific javascript library implementation and then back to XML
In the same way, is Mustache isomorphic?
"{{title}} spends {{calc}}"
can be translated to `${title} spends ${calc}`
and back to "{{title}} spends {{calc}}"
JS and TS aren't isomorphic (there's no inverse morphism once you go TS->JS that can bring the resulting JS back to the original TS) hence why TS is a different language (even if a superset of and compiled to JS).