Skip to content

No need to implement OnInit etc... for lifecycle events #5814

@juristr

Description

@juristr

If I'm not totally wrong, there is no need to implement OnInit, OnDestroy etc... in order to hook into the component's lifecycle events, right?

That said, this docs would need to be updated:
https://angular.io/docs/ts/latest/api/core/OnInit-interface.html

Just wanted to get a confirmation on this. I'm happy to provide a PR if that's desired 😄 .

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