3 ms·
The reason SSR/SSG of JSX (or Svelte, Vue, Marko, whatever) is appealing isn’t simply that you can run it on server/build. The appeal is that you can use the sa
by eyelidlessness 5y ago
The reason SSR/SSG of JSX (or Svelte, Vue, Marko, whatever) is appealing isn’t simply that you can run it on server/build. The appeal is that you can use the same code client-side. And of course each such framework/library has its own value propositions that are useful in both contexts.
An additional of JSX in particular is that it’s render-target agnostic. Yeah you can render JS/DOM, and HTML… and CLI, and native UI APIs, and smart TVs, and WebGL, and…
(I know there are similar solutions for some of these in the others, but JSX was specifically designed to accommodate this.)