3 ms·
There is. You can write regular function calls like this: React.createElement('h1', {}, 'Hello') Personally I like JSX a lot, but you don't have to use it.
by dcre 10y ago
There is. You can write regular function calls like this:
React.createElement('h1', {}, 'Hello')
Personally I like JSX a lot, but you don't have to use it.
- kasbah 10y agoI prefer: h1('Hello') https://github.com/Jador/react-hyperscript-helpers https://github.com/Jador/react-hyperscript-helpers