mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-10 12:57:46 +00:00
Update content/blog/angular-extend-class/index.md
Co-authored-by: Lars Gyrup Brink Nielsen <layzee.dk@gmail.com>
This commit is contained in:
@@ -774,7 +774,7 @@ Now that we've learned how to extend base classes in Angular to share lifecycle
|
|||||||
|
|
||||||
Why?
|
Why?
|
||||||
|
|
||||||
Well, it's often sited by Angular experts that using a base class is brittle and difficult to maintain.
|
Well, it's often cited by Angular experts that using a base class is brittle and difficult to maintain.
|
||||||
|
|
||||||
For example, let's say that you have a base component that doesn't use dependency injection, but then suddenly need to add dependency injection. What do you do?
|
For example, let's say that you have a base component that doesn't use dependency injection, but then suddenly need to add dependency injection. What do you do?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user