Skip to content

can't pass &children to Hyperstack::Component::ReactAPI.create_element #47

Closed
@catmando

Description

@catmando

in otherwords
ReactAPI.create_element(:div, &children) fails
but
ReactAPI.create_element(:div) { 'hello' }
works fine.

So does
Hyperstack::Component::Internal::RenderingContext.render(:div, &children)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions