Learn how Angular ngOnInit and ngOnDestroy life cycle Hooks work. OnInit Hook is for getting data from the database, use OnDestroy to perform clean up.
確定! 回上一頁