Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 326 Bytes

contextual-lifecycle.md

File metadata and controls

11 lines (6 loc) · 326 Bytes

Pattern: Use of non-contextual lifecycle

Issue: -

Description

Some life-cycle methods can only be used in certain class types. For example, ngOnInit() method should not be used in an @Injectable class.

Further Reading