2 ms·
Hyperscript roughly equals React.createElement, JSX transpiles the same for either pragma. JSX is just a more natural syntax to those used to HTML/XML directly
by tracker1 8y ago
Hyperscript roughly equals React.createElement, JSX transpiles the same for either pragma.
JSX is just a more natural syntax to those used to HTML/XML directly as an expressive syntax. Nobody is forcing anyone to use it... `const h = React.createElement;` if you prefer the functional syntax directly.