Skip to content

ViewModel::Callbacks hook dsl in ViewModel for lifecycle hooks #140

@chrisandreae

Description

@chrisandreae

Defining lifecycle hooks as regular Ruby methods carries the risk of clobbering inherited lifecycle behaviour. Consider instead using the ViewModel::Callbacks hook DSL.

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