Oh man I have heard JSX described as syntax sugar like three times the past year. If so handlebars, liquid tags, directives, markup, markdown is also syntax sugar?
I for one am more inclined to adapt a language/framework that has the path of least resistance...
I read this about 3 times: jasonformat.com/wtf-is-jsx/
Thanks for the added info re: converted to vanilla JS before reaching browser. I hadn't thought of that at all. The vibe I was agreeing with is that OP feels "syntactic sugar" may be a poor metaphor for something syntactically hybrid (aka writing JS in your HTML).
Markup is parsed as dom tree first I thought, then style sheets + JS are read, but in the case of react, the taskrunner decides what is compiled and rendered first...?
lol at "flash of unstyled content". I only just thought about what kind of mechanism that could be.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.