angular/packages/platform-server/test
Jessica Janiuk 4ae4090d3c refactor(platform-server): Implement hydration state transfer machinery (#49271)
**Important note**: this is a first commit in a series of commits that will be needed
to support non-destructive hydration. Stay tuned for further updates!

This commit lays the foundation on top of which more hydration logic will be
added in follow up PRs. This PR includes:

* Initial serialization of hydration data
* Data transfer of hydration annotations from server side to client
* Accessing hydration info and populating internal data structures
* Initial APIs (currently private) that enable hydration (in a tree-shakable manner)
* Cleanup of annotations post hydration
* Initial test infrastructure and basic test cases

This commit does **not** expose any public APIs. They'll be exposed later, when
more hydration logic is implemented to a state when it can cover most common
use-cases.

Co-authored-by: Jessica Janiuk <jessicajaniuk@google.com>
Co-authored-by: Andrew Kushnir <akushnir@google.com>

PR Close #49271
2023-03-06 16:53:37 +00:00
..
BUILD.bazel refactor: update platform-server tests to work with ESM (#48521) 2022-12-19 19:50:43 +00:00
hydration_spec.ts refactor(platform-server): Implement hydration state transfer machinery (#49271) 2023-03-06 16:53:37 +00:00
integration_spec.ts feat(platform-server): renderApplication now accepts a bootstrapping method (#49248) 2023-03-01 22:31:33 +00:00
server_styles_host_spec.ts perf(common): remove unused methods from DomAdapter (#41102) 2021-03-10 11:48:24 -08:00
transfer_state_spec.ts Revert "fix(platform-server): insert transfer state script before other script tags (#48868)" (#49112) 2023-02-17 11:09:21 -08:00