Skip to content

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

Closed

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)

Activity

  1. added a commit that references this issue on Apr 1, 2021
    5e90583
  2. added a commit that references this issue on Sep 2, 2026
    096ff6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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