https://github.com/sveltejs/realworld/blob/master/src/routes...
Personally I’ve found debugging and dealing with anything non-standard in React to quickly turn into a huge mess (but given all the praise heaped on it by other developers I know, I’m willing to concede that I might be doing it wrong).
Then "C++ with inline assembler" is also a single language? What about English with quotes in Japanese?
A less flippant analogy might be macro support in Rust. It's clearly part of Rust, but the syntax is completely different and it requires IDEs to have completely separate processing just to handle it. I wouldn't consider that to be mere syntactic sugar either.
[1] Yes, yes, wasm
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).
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}}"You may argue that JSX is a single language, but that is irrelevant since you still need to understand HTML and CSS.