angular/packages/platform-server/src
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
..
bundled-domino.d.ts fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
domino_adapter.ts fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
http.ts refactor(http): introduce the functional interceptors API (#47502) 2022-10-06 19:02:45 +00:00
location.ts fix(common): cleanup location change listeners when the root view is removed (#40867) 2021-03-04 13:09:04 -08:00
platform-server.ts refactor(platform-server): remove deprecated renderModuleFactory (#49247) 2023-03-01 12:32:32 -08:00
platform_state.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts refactor(platform-server): add a marker to specify how a page was rendered (#47103) 2022-09-12 19:05:48 -07:00
server.ts refactor(platform-server): remove Injector dependency for initDominoAdapter factory (#48231) 2022-11-28 09:12:35 -08:00
server_events.ts perf(core): minor improvements to listener instructions (#41807) 2021-04-30 14:14:00 -07:00
server_renderer.ts perf(core): change RendererType2.styles to accept a only a flat array (#49072) 2023-02-17 11:11:48 -08:00
styles_host.ts fix(platform-browser): remove styles from DOM of destroyed components (#48298) 2023-02-16 15:31:24 -08:00
tokens.ts refactor(platform-server): remove deprecated renderModuleFactory (#49247) 2023-03-01 12:32:32 -08:00
transfer_state.ts refactor(core): move TransferState implementation to core (#49222) 2023-02-27 13:08:40 -08:00
types.d.ts refactor(platform-server): switch from dynamic require to import statement (#43431) 2021-10-01 18:28:43 +00:00
utils.ts refactor(platform-server): Implement hydration state transfer machinery (#49271) 2023-03-06 16:53:37 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00