Skip to content

Motion v0.5.0 does not work with ViewComponent >= v2.35.0 #111

@bert-mccutchen

Description

@bert-mccutchen

Motion fails to serialize the component due to ViewComponent v2.35.0 changing some instance variable names:
ViewComponent/view_component#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

As far as I can tell, this only happens when you have a form in the view component's HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions