react-hyperscript-helpers icon indicating copy to clipboard operation
react-hyperscript-helpers copied to clipboard

Not clear on benefits over hyperscript + hyperscript-helpers

Open CheshireSwift opened this issue 7 years ago • 1 comments

I'm not clear what the benefits of this package are over just combining hyperscript + hyperscript-helpers.

The readme asserts that it:

Allows for expressing UIs in the hyperscript-helpers style but with first class support for React.

The api has been greatly improved, making the library usable for actual projects.

Having successfully used the above pairing for actual projects, I'm not clear on what the differences are between this package and libraries that inspired it 🙂

CheshireSwift avatar May 05 '18 21:05 CheshireSwift

One small difference is that this library exports a hyperscript function which allows to specifiy a react component and a selector:

h(MyComponent, '.large');

Erikvv avatar Jun 17 '18 11:06 Erikvv