» Posts by Evan Schultz

Are Your Unit Tests Failing for the Expected Reasons?

Written by Evan Schultz

Unit tests can be an invaluable tool in the developers toolbox. You don't need to be a strict TDD purist to make unit testing worthwhile. Once you get into the flow of writing tests, it can be rather satisfying to watch the Nyan Cat Reporter go across your screen as the number of tests passing increase. As with any other tool though, it can be...

Read More »

Quick Start with Angular Modules

Written by Evan Schultz

Angular 2 RC5 was released was released last week. Looking through the change log of bug fixes and new features shows a lot of progress has been made. However, I experienced a sinking feeling after reading several pages of Breaking Changes about the introduction of @NgModule and changing how we need to bootstrap our applications. To be fair, the Angular team did a good job...

Read More »

Recipes for Redux

Written by Evan Schultz

As Redux is becoming more popular within the Angular community, it's not always clear how to bridge the gap between working with Redux and how to make it fit naturally with Angular 2. One of the goals with ng2-redux is to provide a developer experience that feels natural with Angular 2 while still benefiting from the existing Redux community: dev tools, middleware, etc. Since last...

Read More »

Configurable Services in Angular 2

Written by Evan Schultz

This post was last updated 07/28/2016. Please refer to our Angular 2 eBook for the most recent updates. Angular 2 has greatly simplified services since Angular 1. In Angular 1, there was a service, factory, provider, delegate, value, constant, etc. and it wasn't always clear when to use which. For most use cases in Angular 2, services have been greatly simplified. All you...

Read More »

Getting Started with Redux & Angular 2

Written by Evan Schultz

This post was last updated 05/02/2016. Please refer to our Angular 2 eBook for the most recent updates. Ever since we discovered Redux around a year ago, we've been in love with the elegance of Redux-based applications. By now we've used Redux on countless projects, combining it with React, Angular 1 and Angular 2. In this post we show how it can be...

Read More »