mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-27 03:08:06 +00:00
Add reference to the Hyperscript libraries (#9517)
* Add reference to the Hyperscript libraries I feel these should be mentioned as they provide terser syntax than using `R.createElement` directly, even with a shorthand. * Rephrase
This commit is contained in:
committed by
Dan Abramov
parent
6d9942270a
commit
c537213cb1
@@ -54,3 +54,6 @@ ReactDOM.render(
|
||||
```
|
||||
|
||||
If you use this shorthand form for `React.createElement`, it can be almost as convenient to use React without JSX.
|
||||
|
||||
Alternatively, you can refer to community projects such as [`react-hyperscript`](https://github.com/mlmorg/react-hyperscript) and [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) which offer a terser syntax.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user