4 ms·
FYI, that's nothing to do with Cycle, that's just hyperscript. Works great with React if you feel the urge: https://github.com/mlmorg/react-hyperscript https:
by Lazare 11y ago
FYI, that's nothing to do with Cycle, that's just hyperscript. Works great with React if you feel the urge: https://github.com/mlmorg/react-hyperscript https://github.com/mlmorg/react-hyperscript
The syntax is slightly different though:
h('ul', [
h('li', 'Foo'),
h('li', 'Bar'),
])
Otherwise the same advantages as the author listed when using Cycle, eg, props and children are both optional, etc.