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:
Dmitri Zaitsev
2017-04-26 13:54:31 +01:00
committed by Dan Abramov
parent 6d9942270a
commit c537213cb1

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.