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
Be aware that component class inheritance will not work correctly unless using the render macro. If you want to get rid of the warning temporarily and work around the inheritance problem do this in your base component class:
classLegacyBaseClassdefself.inherited(base)base.includeHyperstack::Component::Baseenddefself.allow_deprecated_render_definition?trueend
...
end
In Legacy Hyperloop the Hyperloop Component base class defined the inherited method as shown above. But in Hyperstack we don't want to force use of a base class prefering module includes instead. However some features, notably the ability to reference the component's insert_element method by using the class name followed by parenthesis (i.e. Foo::Bar()) depends on knowing when the component class is defined.
Since every runnable component must have a render callback, we use the callback definition as a hook to add the class method definition.
This spec fails:
No method Thing for Container!
The text was updated successfully, but these errors were encountered: