Title: hypercomponent class not inheriting correctly · Issue #60 · hyperstack-org/hyperstack · GitHub
Open Graph Title: hypercomponent class not inheriting correctly · Issue #60 · hyperstack-org/hyperstack
X Title: hypercomponent class not inheriting correctly · Issue #60 · hyperstack-org/hyperstack
Description: This spec fails: it "can create an inherited component's insert_element alias" do mount 'Tester' do module Container class Base < HyperComponent before_mount do @_instance_data = [] end end class Thing < Base before_mount do @_instance_d...
Open Graph Description: This spec fails: it "can create an inherited component's insert_element alias" do mount 'Tester' do module Container class Base < HyperComponent before_mount do @_instance_data = [] end end class T...
X Description: This spec fails: it "can create an inherited component's insert_element alias" do mount 'Tester' do module Container class Base < HyperComponent before_mount do @_instance_...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/60
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hypercomponent class not inheriting correctly","articleBody":"This spec fails:\r\n\r\n```ruby\r\n it \"can create an inherited component's insert_element alias\" do\r\n mount 'Tester' do\r\n module Container\r\n class Base \u003c HyperComponent\r\n before_mount do\r\n @_instance_data = []\r\n end\r\n end\r\n class Thing \u003c Base\r\n before_mount do\r\n @_instance_data \u003c\u003c \"works!\"\r\n end\r\n render { @_instance_data.join(\" \") }\r\n end\r\n end\r\n class Tester \u003c HyperComponent\r\n render { Container::Thing() }\r\n end\r\n end\r\n expect(page).to have_content('works!')\r\n end\r\n```\r\n\r\nNo method Thing for Container!","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2018-11-15T21:24:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/60/hyperstack/issues/60"}
| 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:ff897883-7a14-dfee-93ce-79352b46284a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8192:281D19:CB6A0F:105E6FD:69918285 |
| html-safe-nonce | bebd983aa021b567558e37a72869a53fc9861cde0cfce839b4ed0e24329cfac1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTkyOjI4MUQxOTpDQjZBMEY6MTA1RTZGRDo2OTkxODI4NSIsInZpc2l0b3JfaWQiOiIzMzg5MDY4MjY0NTA4MzI2NTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5529ada579170e31f85b1e06d8935294bcc9ca9f74f0983c2a8eb48b1eceac04 |
| hovercard-subject-tag | issue:381345556 |
| 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/60/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a26dd5efe6fa0216270e7865b33c7e85323855da7f94b18889482bc7de4ea457/hyperstack-org/hyperstack/issues/60 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a26dd5efe6fa0216270e7865b33c7e85323855da7f94b18889482bc7de4ea457/hyperstack-org/hyperstack/issues/60 |
| og:image:alt | This spec fails: it "can create an inherited component's insert_element alias" do mount 'Tester' do module Container class Base < HyperComponent before_mount do @_instance_data = [] end end class T... |
| 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