angular/packages/platform-server/test
Andrew Kushnir 222544491b refactor(core): avoid hydration warnings when RenderMode.Client is set (#58004)
With the newly-added `RenderMode` config for routes, some of the routes may have the `RenderMode.Client` mode enabled, while also having `provideClientHydration()` function in provider list at bootstrap. As a result, there was a false-positive warning in a console, notifying developers about hydration misconfiguration.

This commit adds extra logic to handle this situation and avoid such warnings.

Note: there is a change required on the CLI side to add an extra marker, which would activate the logic added in this commit.

PR Close #58004
2024-10-02 11:45:28 +00:00
..
BUILD.bazel refactor(core): Use event_dispatcher in event_replay code. (#56036) 2024-05-29 12:59:23 +02:00
dom_utils.ts refactor(core): avoid hydration warnings when RenderMode.Client is set (#58004) 2024-10-02 11:45:28 +00:00
event_replay_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
hydration_spec.ts refactor(core): avoid hydration warnings when RenderMode.Client is set (#58004) 2024-10-02 11:45:28 +00:00
integration_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
transfer_state_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00