mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +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
(cherry picked from commit a8c223ab41)
This commit is contained in:
committed by
Dan Abramov
parent
4a230dc75e
commit
8b48a394ea
@@ -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