Angular 2 Essential Training - Part 6 - Interface and Lifecycle Hooks

Patrick Schroeder, Teaching JavaScript Courses

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
7 Videos (15m)
    • Interface Intro

      0:27
    • Interface Explained

      2:03
    • Using Interfaces

      3:19
    • Interface Example in Our App

      2:22
    • Lifecycle Hooks Intro

      0:35
    • Lifecycle Hooks Explained

      2:58
    • Lifecycle Hook Example

      3:05

About This Class

Welcome to Part 6 of the course.

In this section we'll discuss interfaces and lifecycle hooks.

Interface Explained - Interfaces are used within typescript in order to define the data types for a grouping of properties and methods.

Using Interfaces - Interfaces are used within typescript in order to define the data types for a grouping of properties and methods.

Lifecycle Hooks Explained - Angular defines lifecycle hooks as a lifecycle managed by Angular itself. Angular creates it, renders it, creates and renders its children, checks it when its data-bound properties change, and destroys it before removing it from the DOM.

Lifecycle Hooks Example - Lets now see how to add a new lifecycle hook to our application.

Code for this course is located here: https://github.com/jakblak/learn-angular2

31

Students

--

Projects

0

Reviews (0)

Patrick Schroeder

Teaching JavaScript Courses

Patrick Schroeder is a self-taught full stack JavaScript developer. He enjoys working with Angular, Node.js, Mongodb, React.js, Firebase, and anything else javascript related. Patrick is passionate about teaching Javascript. He loves to help others understand difficult concepts by creating clear presentations that gradually builds to full comprehension of a given topic. He is very interested in furthering his knowledge of IOT and wearable products with the intention of teaching cutting edge technologies and collaborating to bring new products to life. 

Learn JavaScript Programming