Sharing Top Content from the Angular-sphere.

Angular 2 Routing Master-Detail

  • Dumb components just get the raw data as input and emit data via output emitters.
  • navigate ([ ‘/heros/detail/’ , hero .
  • Very important when seperating smart and dumb components: Dumb Components should not carry routing information.
  • I like to call my smart components “views”, so I gave their names a -View postfix.
  • The application is built up with smart and dumb components.

Read the full article, click here.

@JavaScriptKicks: “Angular 2 Routing Master-Detail #javascript #angularjs”

Simple demo of a master-detail component hierarchy

Angular 2 Routing Master-Detail