React Without Build Tools

Jim Nielsen makes the case for a setup that he thinks many developers will find quite refreshing: using React with a JSX-like syntax but without any kind of build tooling at all.

As Nielsen points out, React itself isn't the difficult part to pull off without build tools — JSX is. (He does wonder what is lost by skipping tree shaking.) He admits he is so used to JSX that working on a front-end JavaScript project without it would be hard for him, but he notes that some people literally prefer a render function instead.

For those developers, the options he lists are calling React.createComponent directly and skipping JSX, or, in the case of Preact, using h.

Nielsen also mentions a project he works on that uses Mithril for JavaScript templating, which he describes as a bit like that approach. The syntax isn't his favorite, he says, but you totally get used to it — and it's fast.