This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Don't use constructor, but rather ngOnInit #3045
Closed
Description
I've read in the guide "server-communication" an exemple where it's propose to use constructor for initializes a property.
It's a bad practice, it's preferable to use ngOnInit().
Metadata
Metadata
Assignees
Labels
No labels