Title: can't pass &children to Hyperstack::Component::ReactAPI.create_element · Issue #47 · hyperstack-org/hyperstack · GitHub
Open Graph Title: can't pass &children to Hyperstack::Component::ReactAPI.create_element · Issue #47 · hyperstack-org/hyperstack
X Title: can't pass &children to Hyperstack::Component::ReactAPI.create_element · Issue #47 · hyperstack-org/hyperstack
Description: 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)
Open Graph Description: 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)
X Description: in otherwords ReactAPI.create_element(:div, &children) fails but ReactAPI.create_element(:div) { 'hello' } works fine. So does Hyperstack::Component::Internal::RenderingContext.render(:...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/47
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"can't pass \u0026children to Hyperstack::Component::ReactAPI.create_element","articleBody":"in otherwords\r\nReactAPI.create_element(:div, \u0026children) fails\r\nbut\r\nReactAPI.create_element(:div) { 'hello' }\r\nworks fine.\r\n\r\nSo does\r\nHyperstack::Component::Internal::RenderingContext.render(:div, \u0026children)","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2018-10-18T21:44:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/47/hyperstack/issues/47"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:166cb3df-af8b-3963-bd7c-c4f4f0ade670 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1E2:9376:17075BA:1D430E6:69918223 |
| html-safe-nonce | 79497374bd800e175b41fc3bc50350cbbad64cfeadf7aca383b553f153225d10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUUyOjkzNzY6MTcwNzVCQToxRDQzMEU2OjY5OTE4MjIzIiwidmlzaXRvcl9pZCI6IjQ1NDgwNzk2MjkwMTM5NzU1ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf859096469e5b131c84b55c14a2c034b45369862f2c21a6f457e282e785b17a |
| hovercard-subject-tag | issue:371726098 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperstack-org/hyperstack/47/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c497200843428fb577d6e2442e5ffb81e4f5e4b8c9056446b8352f049612f4a/hyperstack-org/hyperstack/issues/47 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c497200843428fb577d6e2442e5ffb81e4f5e4b8c9056446b8352f049612f4a/hyperstack-org/hyperstack/issues/47 |
| og:image:alt | 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) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width