Monorepos, microfrontends and real-time channels
Learn Monorepos, microfrontends and real-time channels (Module 17 · Advanced Angular, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
One repo, many apps, live data A monorepo keeps several apps and libraries in one Git repository, like one building with many offices sharing a canteen. Angular workspace management : one angular.json lists projects (applications and libraries); shared libraries are imported through path mapping in tsconfig.json ( @shop/ui ). Tools like Nx add caching and dependency-graph rules. Browsers can also do background and live work: Web Workers (heavy calculation off the UI thread), WebSockets (two-way live channel, chat) and Server-Sent Events (one-way live feed from the server, notifications).