Yep, another blog post about Angular 2 and Ngrx. In this post we'll look at some ways to create @Effects that don't return an action to the reducer and when you might want to do this.
This post is meant to explain some of the magic behind the line of initialization code for Ngrx/Store that you put in the imports block of the NgModule. Working with provideStore is key to understanding how to setup your project wiht Ngrx, so let's get into it!
Here's an error I was having for the past few days that I'm a little embarrassed to admit. haha. As it t urns out the error was caused by me not returning anthing from a certain case of the swtich statement in my reducer function.
It's Christmas Eve, and I just got back to my empty apartment after hanging out with my family all day. On the drive there I was listening to an interview with the dj/producer Nightmare. I think there are definite parrallels between creating music and creating software so it's interesting to take what he said and inteprete it in terms of programming. Here's what he said.
I stumbled across this answer while looking at this stack overflow post. I thought it was such a great solution to my problem that I decided to write a blog post about it to help me not forget it.
The posts on this site are written and maintained by Jim Lynch. About Jim...
Want FREE access to
my daily stock tips
Sign up here:
- Triple Gainers
- Rippers N' Dippers
- Growingest Growers