Multi-threading with NodeJS (Worker Threads)

Did you know you can perform multi-threading in NodeJS? NodeJS’ implementation of multi-threading is called worker_threads which functions a bit differently to other multi-threaded technologies but can be useful in certain scenarios to improve your application’s performance. Prerequisites A basic understanding of Javascript and NodeJS. What is Multi-threading? Multi-threading is the technique of running tasks …

Understanding Zone.js in Angular

Zone.js in Angular Zone.js plays a pivotal role in Angular’s change detection mechanism by helping signal Angular when to perform a change detection cycle. When asynchronous operations are initiated within Angular’s context, Zone.js ensures Angular is aware of these operations’ start and completion, allowing Angular to decide when to check for changes. Disclaimer: Angular has …

Image by rawpixel.com on Freepik

Angular: Understanding change detection

Understanding change detection The secret sauce to Angular’s reactivity and performance is in its change detection strategies and the creative application of those strategies. Change detection is an important mechanism for ensuring the application view stays in sync with the underlying data models, and can respond appropriately when there are changes to these data models. …

Downloading Objects as JSON files in Angular

In our Angular applications , we often create rich data objects that give us insight into how our application is behaving. Whether we’re creating complex state management objects , error logs or diagnostics ,what if you wanted to export this data for further analysis or for users to download? In this blog post, we’ll explore …

Getting started with source map explorer in Angular

What are Source Maps? Source maps are a crucial tool for modern web development, especially in projects that involve complex frameworks like Angular. At their core, source maps are files that map the generated, minified, or transpiled code back to its original source code. They contain information about the relationship between your source code and …