Alan Agius 80686beaa2 refactor(@angular/build): avoid hydration warnings when RenderMode.Client is set
With the introduction of the `RenderMode` configuration for routes, some routes may be set to `RenderMode.Client` while still including the `provideClientHydration()` function in the provider list during bootstrap. This led to a false-positive warning in the console, incorrectly suggesting a hydration misconfiguration.

This commit introduces a DOM marker that allows the framework to bypass these unnecessary checks, preventing the misleading warnings.

See: https://github.com/angular/angular/pull/58004
2024-10-02 15:08:21 +02:00
..