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:
Dmitri Zaitsev
2017-04-26 17:28:39 +01:00
committed by Dan Abramov
parent 4a230dc75e
commit 8b48a394ea
+3
View File
@@ -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.