Sharing Top Content from the Angular-sphere.

What I Learned Using Angular Material

What I Learned Using Angular Material

  • That I wouldn’t have the flexibility to switch between Angular Material and some other CSS framework.
  • Angular Material doesn’t really lock me in any more than any other CSS framework or component library.
  • Because Angular Material is both a CSS framework and a component library, it turns out that writing templates using Angular Material is significantly terser than say, Bootstrap.
  • I’ve written before about how to include CSS in your Angular project, but I’ve learned a new trick while implementing Angular Material.
  • Angular Material requires you to import each of the component modules individually.

Some things I learned taking Angular Material for a spin.

This past week I took Angular Material for a spin.  In the process, I learned a few things you might find helpful.  Some may be helpful even if you aren’t interested in using Angular Material for your projects.

Up until recently, I’ve been reluctant to try Angular Material for two basic reasons.  First, it didn’t seem quite ready for prime time.  I found out that it now has all of the components I would need for most of the applications I would want to develop.  Second, using Angular Material is a commitment.  Instead of writing primarily HTML, you write primarily angular material tags.  I thought this was a problem.  That I wouldn’t have the flexibility to switch between Angular Material and some other CSS framework.  But, as it turns out.  Angular Material doesn’t really lock me in any more than any other CSS framework or component library.  Which leads to the first lesson learned.  Choose your CSS frameworks and component library wisely.  If you decide to make a change mid-course, it is likely to suck up a lot of time from your project.  I would recommend doing some proof of concepts prior to committing to any component library or CSS framework.

Because Angular Material is both a CSS framework and a component library, it turns out that writing templates using Angular Material is significantly terser than say, Bootstrap.  I don’t mean to imply that it produces less HTML.  Just that…

What I Learned Using Angular Material