Skip to content

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

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 😄 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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