The New Chrome DevTool Feature You Want to Know About

The Chrome development teams work on features and improvements that make our browsing and developing experience better. The Google I/O 2017conference took place at April and there are significant tidings. A part of them is about the DevTool, so it affects us as web developers that use chrome. Chrome 60 is coming with many new features and changes in the DevTool. The “WOW” feature is the new Audits panels.

Source: The New Chrome DevTool Feature You Want to Know About

ViewChildren and ContentChildren in Angular – Minko Gechev’s blog

In this article I’m going to explain the difference between the concepts of view children and content children in Angular. We will take a look at how we can pass access these two different kinds of children from their parent component. Along the content we are also going to mention what the difference between the properties providers and viewProviders of the @Component decorator is.

Source: ViewChildren and ContentChildren in Angular – Minko Gechev’s blog

Error Handling in RxJs

In this post I will talk about error handling in complex RxJs streams.

The easiest way to trap errors in RxJs is to add an error callback in the subscribe call.

While this is super simple, this approach has a few shortcomings. The main issue is that if you let an error propagate up to the “catch all” handler, the underlying observable is terminated in the process.

Source: Error Handling in RxJs

Angular’s $digest is reborn in the newer version of Angular

I’ve worked with Angular.js for a few years and despite the widespread criticism I think this is a fantastic framework. I’ve started with a great book Building your own Angular.js and read most of the framework’s source code. So I want to believe I have a solid knowledge of the Angular.js inner workings and a good grasp of the ideas used to built the framework. Now, I’m trying to get to the same level of understanding with the newer Angular and map the ideas between the versions. What I’ve found is that contrary to what is usually claimed on the internet Angular borrows many ideas from its predecessor.

Source: Angular’s $digest is reborn in the newer version of Angular

Custom Preloading and Lazy Loading Strategies with Angular

Angular has many features that allow us to configure apps to be as fast and high preforming as possible. One of the critical features that enable responsive fast Angular apps is the ability to lazy load code with the Angular Router. This allows our initial bundles to remain small ensuring faster downloads and start up times for our app.

The Angular router has the amazing ability to load code on demand as the user routes between views on our apps. By splitting our features into stand alone Angular Modules we can lazy load the module when the user clicks the link to navigate to this feature.

Source: Custom Preloading and Lazy Loading Strategies with Angular

Rxjs — be careful with that axe, Eugene – Michal Majewski – Medium

Since angular 2 brought Rxjs as embedded library, it automatically moved Rxjs to mainstream. However Rxjs is fantastic and very powerful library, there is a trade-of related to that. Rxjs is not super new concept. I have seen it couple of years ago in C# community. It raised up, as some hyped library for data flows and then moved into shadow. I was reading about that and listen a lot conferences, because a lot of people were talking about that, at these times. Eventually I never really used it in real scenario. It was one of these libraries to show on presentation, to make wow effect. It shines when you are developing some ETL or building up “typeahead” like control. However it’s really hard to find some reasonable usage of that library. You need to be familiar with some functional language, unidirectional data-flow and reactive programming concepts to use it properly for your architecture.

Source: Rxjs — be careful with that axe, Eugene – Michal Majewski – Medium