Skip to content

Commit

Permalink
Add reference to the Hyperscript libraries (#9517)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dmitriz authored and gaearon committed Apr 26, 2017
1 parent dce3c28 commit a8c223a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/react-without-jsx.md
Expand Up @@ -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.

0 comments on commit a8c223a

Please sign in to comment.