angular/packages/platform-browser
Andrew Kushnir 3bcbfecb78 refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration (#49944)
Hydration relies on a signal from ZoneJS when it becomes stable inside an application, so that Angular can start serialization process on the server or post-hydration cleanup on the client (to remove DOM nodes that remained unclaimed).

Providing a custom or a "noop" ZoneJS implementation may lead to a different timing of the "stable" event, thus triggering the serialization or the cleanup too early or too late. This is not yet a fully supported configuration.

This commit adds a warning (non-blocking) for those cases.

PR Close #49944
2023-04-23 18:23:28 -07:00
..
animations refactor(common): add missing override to satisfy the linter (#49599) 2023-03-28 10:12:36 -07:00
src refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration (#49944) 2023-04-23 18:23:28 -07:00
test refactor(platform-browser): update renderer to be able to remove ServerRendererFactory2 and EmulatedEncapsulationServerRenderer2 (#49630) 2023-04-05 11:42:57 -07:00
testing feat(core): Add ability to configure NgZone in bootstrapApplication (#49557) 2023-03-31 11:56:10 -07:00
BUILD.bazel refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration (#49944) 2023-04-23 18:23:28 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
PACKAGE.md docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00