Skip to content

Directive hooks #1044

Closed
Closed
@mbraint

Description

@mbraint

Case:
When I create custom directives, I thinked that 'update' and 'componentUpdated' hooks of directive will be call when component or children updated, but the hooks works only when updated vnode. I think will be useful add this informaition to docs.

Actually desctiption:
#Hook-Functions
'update: called after the containing component has updated'
'componentUpdated: called after the containing component and its children have updated.'

Expected desctiption:
'update: called after vnode of the containing component has updated'
'componentUpdated: called after vnode of the containing component and vnodes of his children have updated.'

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