Home » Posts tagged "angular 2"

How to Really use NgRX — Better

Several weeks ago, I introduced NgRX as a way to manage state in your Angular applications.  You should think of that article as a basic “getting started” article.  What I want to cover today is a better way of organizing you code that solves several problems with using NgRX the way I outlined in that article.

It isn’t so much that what I wrote is “wrong” just that it is incomplete.  Today’s post is …

How to Really use NgRX Better
Photo credit: m01229 via Visual hunt / CC BY


Continue reading “How to Really use NgRX — Better”

How to Really use NgRX

I’ve talked around NgRX several times over the last few months but I’ve yet to write an article on how to use NgRX.  This is because I was under the impression that there were better articles available.  And while there are a lot of articles available, there is not anything I feel comfortable sending another programmer to who is trying to learn NgRX.

So, rather than spend a lot of time on why you want to learn NgRX, or arguing against some of the unfounded hesitations, today I’m just going to dive into how to use NgRX.

How to Really use NgRX
Photo credit: Bilal Kamoon via VisualHunt / CC BY

Continue reading “How to Really use NgRX”

Dynamically Add Components in Angular

This past week, I ran into a need to dynamically add components using Angular.  My specific reason for doing this is that the component I am using is a port of an AngularJS component and so it doesn’t quite conform to the Angular way of doing things.  Specifically, I can’t change input values and have the component respond reliably.  But, regardless of why I need this functionality, or even why you may need this functionality, I think being able to do this at all is pretty cool.

Dynamically Add Components in Angular
Photo via Visualhunt.com

Continue reading “Dynamically Add Components in Angular”

Jedi Angular 2 Tips and Tricks

This week, I thought I’d collect a list of unrelated tricks and tips I’ve learned over the last couple of weeks into one post.  Unless you love to read documentation, or you’ve run into problems that these tips solve, I’m guessing you don’t know most of these.

But first, the big new this week…

Jedi Angular 2 Tips and Tricks
Photo credit: iamkory via Visual Hunt / CC BY

Continue reading “Jedi Angular 2 Tips and Tricks”