SSR

Debugging Angular Hydration Mismatches: NG0500 Errors and Fixes [2026]

Lesson 10.8 of the Angular tutorial — debugging hydration mismatches: what each NG0500-range error means, a step-by-step routine, the usual culprits (random values, browser-only APIs, invalid HTML nesting, DOM manipulation, stripped whitespace), when ngSkipHydration is justified, and the Angular DevTools hydration overlay.

Debugging Angular Hydration Mismatches: NG0500 Errors and Fixes [2026] Read More »

Angular SSR Bootstrap: provideServerRendering, server.ts and Request Tokens [2026]

Lesson 9.2 of the Angular tutorial — what provideServerRendering() and withRoutes() configure, main.server.ts and BootstrapContext, server.ts with AngularNodeAppEngine, the lifecycle of a server-rendered request, the REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens, and keeping browser-only code off the server.

Angular SSR Bootstrap: provideServerRendering, server.ts and Request Tokens [2026] Read More »