Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dcre
9y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
kasbah
9y ago
I prefer:
h1('Hello')
https://github.com/Jador/react-hyperscript-helpers
j
/
k
navigate · click thread line to collapse