Author: Lina Maria Golvala

Optimizing the usage of common modules – the SharedModule pattern – Organizing Your Application

If we look at Angular projects, we will see patterns of use of modules such as HttpModule, as in the following example:import { NgModule } from ‘@angular/core’;import { CommonModule } from ‘@angular/common’;import { HomeComponent }…

What is the difference between Angular and JavaScript modules? – Organizing Your Application

Almost all programming languages offer a way for their developers to organize functions, classes, and variables in one or more files, allowing greater maintainability and separation of concerns. In JavaScript, sometime after its creation and…