3 ms·
The template language doesn't compete with JSX. It competes with JSX + JavaScript, which is far more expressive.
by peterhunt 4y ago
The template language doesn't compete with JSX. It competes with JSX + JavaScript, which is far more expressive.
- yencabulator 4y agoSvelte's template language can evaluate JavaScript just fine. Svelte's template language doesn't need to compete with JSX + JavaScript, Svelte + JavaScript is what competes with JSX + JavaScript.
- The5thElephant 4y agoCan you be more specific? What is easier to do with JSX+JS that is harder to do in Vue/Svelte context? Or another take on the question, will it be easier to read and understand for someone new to the codebase or JS development?
- deleted 4y ago[deleted]