Title: forget the render macro · Issue #176 · hyperstack-org/hyperstack · GitHub
Open Graph Title: forget the render macro · Issue #176 · hyperstack-org/hyperstack
X Title: forget the render macro · Issue #176 · hyperstack-org/hyperstack
Description: just allow components to be rendered directly in the class body. describe 'The FreeRender module', js: true do it "doesnt need any stinkin render macro" do mount 'Foo' do class Foo include Hyperstack::Component include Hyperstack::Compon...
Open Graph Description: just allow components to be rendered directly in the class body. describe 'The FreeRender module', js: true do it "doesnt need any stinkin render macro" do mount 'Foo' do class Foo include Hypersta...
X Description: just allow components to be rendered directly in the class body. describe 'The FreeRender module', js: true do it "doesnt need any stinkin render macro" do mount 'Foo' do ...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"forget the render macro","articleBody":"just allow components to be rendered directly in the class body.\r\n\r\n```ruby\r\ndescribe 'The FreeRender module', js: true do\r\n it \"doesnt need any stinkin render macro\" do\r\n mount 'Foo' do\r\n class Foo\r\n include Hyperstack::Component\r\n include Hyperstack::Component::FreeRender\r\n DIV(class: :foo) do\r\n \"hello\"\r\n end\r\n end\r\n end\r\n expect(find('.foo')['innerHTML']).to eq('hello')\r\n end\r\nend\r\n```\r\n\r\nuse a module as its experimental... for now.\r\n\r\nIf you want to use it in your system simply include `Hyperstack::Component::FreeRender` in your `HyperComponent` base class.","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2019-04-24T01:25:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/176/hyperstack/issues/176"}
| 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:bd08ebda-04b0-6ae6-d523-6f7689ad97de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D760:D3A00:1C52116:2408FBD:69918304 |
| html-safe-nonce | bfe7e8b789ebf114aad9192d203a6dc29e7cbe72578399356b17a0c0bac11eb6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzYwOkQzQTAwOjFDNTIxMTY6MjQwOEZCRDo2OTkxODMwNCIsInZpc2l0b3JfaWQiOiIzMjYyMjE5OTcwMjQzODIyMzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 48f7048763e2b975cb18ccde1836752ee164835d5223ff50032a71bd437444cd |
| hovercard-subject-tag | issue:436455403 |
| 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/176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be6ea2d1b598361cb18fcbf0d6f814f2965a180c110103f38660962ddef77a2f/hyperstack-org/hyperstack/issues/176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be6ea2d1b598361cb18fcbf0d6f814f2965a180c110103f38660962ddef77a2f/hyperstack-org/hyperstack/issues/176 |
| og:image:alt | just allow components to be rendered directly in the class body. describe 'The FreeRender module', js: true do it "doesnt need any stinkin render macro" do mount 'Foo' do class Foo include Hypersta... |
| 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