2 ms·
JSX abstraction exists not because JS is so flexible but because it has a separate compiler for the code. Otherwise if you don’t use JSX then you get something
by heavenlyblue 6y ago
JSX abstraction exists not because JS is so flexible but because it has a separate compiler for the code.
Otherwise if you don’t use JSX then you get something akin to programming with Ruby on Rails or Django - still quite integrated, but the syntax is familiar.
- smt88 6y agoI actually didn't mean to include JSX in any of my comment. It is a DSL unquestionably. I meant that the JS you write in React, Vue, and Svelte feels like a DSL.