The code side of life

The code side of life

JavaScript, TypeScript, ES6, Angular, Node, Architecture and more.


TagAngular2
Featured

Angular2 Webpack AOT JIT

Best of both - Angular 2 AOT Compilation with Lazy JIT Compilation

Posted on .

There's an old saying You can't have the best of both worlds That's true, especially for developers, trade-offs are an everyday struggle. What should I choose, Ahead of Time or Just in Time compilation? TL;DR Choose Ahead of Time But you can also combine…

Featured

Redux TypeScript Angular2 Angular 2 Ngrx

Angular 2 - Managing redux (NGRX) like a boss

Posted on .

Working on a large project with redux can be painful. Managing the modules, structure state and Types without creating hard dependencies and strong coupling is not so trivial. While working with ngrx I came up with a solution that tries to add order to that c…

Featured

Angular Angular2 Change Detection Zones Zone.js NgZone

Angular 2 Change Detection, Zones and an example

Posted on .

Handling DOM media query change event in angular 2, A real life scenario where Angular's change detection needs a little help. If you have been playing around with angular you probably noticed that the infamous $digest / $apply is gone, no more loops! In this…