Open bert-mccutchen opened 3 years ago
Motion fails to serialize the component due to ViewComponent v2.35.0 changing some instance variable names: https://github.com/github/view_component/pull/967
This means @controller and @helpers are now @__vc_controller and @__vc_helpers, which are not excluded here: https://github.com/unabridged/motion/blob/v0.5.0/lib/motion/component/rendering.rb#L8-L29
@controller
@helpers
@__vc_controller
@__vc_helpers
As far as I can tell, this only happens when you have a form in the view component's HTML.
Looking into this further... There are actually many more that are of issue, for example @variant is now @__vc_variant. The entire list will need to be reviewed and updated with a patch.
@variant
@__vc_variant
Motion fails to serialize the component due to ViewComponent v2.35.0 changing some instance variable names: https://github.com/github/view_component/pull/967
This means
@controller
and@helpers
are now@__vc_controller
and@__vc_helpers
, which are not excluded here: https://github.com/unabridged/motion/blob/v0.5.0/lib/motion/component/rendering.rb#L8-L29As far as I can tell, this only happens when you have a form in the view component's HTML.