mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-27 18:29:47 +08:00
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