In the development of Echoes Player (ng2 version), I’m using ngrx/store for state management and ngrx/effects for logics with side effects. I’m always looking for better and simpler ways to write code – just experimenting with how code can be written differently. In this post I like to share a nice way for defining action creator […]
Since I started developing the new version of Echoes with angular 2, I was vey interested in taking advantage of rxjs. To be more specific, I was interested to see how it can be used to reduce complexity and lead to a better, maintainable code. In this article i’m sharing a code refactor walk through, where […]
In the last article, I added the ability to play a media in Echoes Player. I introduced a new reducer which holds the state of the player. In this post I want to share my views regarding communication between different components – and how using the “ngrx/store” as a state management promotes reuse of logics, less code […]
In my recent article about adding redux with ngrx/store to angular2, I showed a nice example of integrating this awesome state management library to my open source project Echoes Player. Since then, I really wanted to integrate youtube player into this angular2 version. In this post, I’m sharing my insights on achieving using ngrx/store, working with […]
In the recent article, I integrated ngrx/store as a redux implementation to Echoes Player. Until this article, the search was static with one hard coded search query. In this article, I’m sharing my insights on migrating more features from angular 1 and implementing ng-model with ngrx.