Hacker News new | ask | show | jobs
by heavenlyblue 2027 days 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.

1 comments

I 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.