You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just allow components to be rendered directly in the class body.
describe'The FreeRender module',js: truedoit"doesnt need any stinkin render macro"domount'Foo'doclassFooincludeHyperstack::ComponentincludeHyperstack::Component::FreeRenderDIV(class: :foo)do"hello"endendendexpect(find('.foo')['innerHTML']).toeq('hello')endend
use a module as its experimental... for now.
If you want to use it in your system simply include Hyperstack::Component::FreeRender in your HyperComponent base class.
Activity