Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for children to be passed as arguments #53

Open
mciparelli opened this issue Jul 23, 2016 · 2 comments
Open

Allow for children to be passed as arguments #53

mciparelli opened this issue Jul 23, 2016 · 2 comments

Comments

@mciparelli
Copy link
Contributor

It'd be nice to have support for this API present in hyperscript library main example

h('ul',
  h('li', 'one'),
  h('li', 'two')
)
@terinjokes
Copy link
Owner

@mciparelli I'll work on supporting this. I've used react-hyperscript for so long that I've forgotten that was a feature.

@tusharmath
Copy link

@terinjokes I prefer the array approach because then its easy to use ramda or lodash map functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants