tech/webdev magazine

October 7, 2015

Decoupling Component Directives From Layout In AngularJS

Wednesday, October 07, 2015 Teklinks

As I've been learning about ReactJS and thinking more in terms of "component directives" rather than just "views," one of the biggest hurdles for me is learning to separate component directives from the layout in which they reside. When all you have is "views," it's very easy to create a hybrid situation in which the content is also responsible, to some degree, for layout. This makes switching over to components feel "bloated" and "heavy."

Full article