Best of Halodoc2023

  1. 1
    Article
    Avatar of halodocHalodoc·3y

    Mastering Subscription Handling in Angular

    The lack of subscription handling can cause many problems in your app, the most critical one is memory leak. Subscriptions are not bundled with the component; therefore, we also need to dispose of subscriptions when the components are being destroyed. To destroy the subscription we created we can use the method on the function we created.

  2. 2
    Article
    Avatar of halodocHalodoc·3y

    Distributed Locking In Go

    Distributed Locking In Go Distributed locking is a critical concept in distributed systems. It involves the blocking of processes or threads attempting to access a shared resource that is currently in use by another thread or process. In certain scenarios, it becomes crucial to safeguard shared resources from multiple processes trying to access them simultaneously.

  3. 3
    Article
    Avatar of halodocHalodoc·3y

    Angular Standalone Components: No NgModule Magic

    In Angular, a standalone component refers to a self-contained and reusable unit of code that encapsulates logic, data, and UI elements. Standalone components provide a more granular and focused approach to module development in Angular. This approach eliminates the inclusion of redundant code, leading to a more streamlined application with optimised efficiency.