Comment

Comment by WiseWeasel

React/JSX reads better than other framework templating because

  1. It's easy to differentiate the composed DOM from JS logic, since any logic is expressed in JS rather than mixed into the JSX DOM.
  2. JSX maps directly to the JSDOM API.
If you know vanilla JS, JSX is a low overhead abstraction.
parent WiseWeasel 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton