angular/packages/core/src/hydration
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
..
annotate.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
api.ts refactor(core): avoid hydration warnings when RenderMode.Client is set (#58004) 2024-10-02 11:45:28 +00:00
cleanup.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
compression.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_handling.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
event_replay.ts refactor(core): Remove global event delegation code. (#57893) 2024-09-26 14:18:17 -07:00
i18n.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
interfaces.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_lookup_utils.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
skip_hydration.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tokens.ts refactor(core): Remove global event delegation code. (#57893) 2024-09-26 14:18:17 -07:00
utils.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
views.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00