angular/packages/core
Alan Agius 9e0b50b465 refactor(core): add ENABLE_ROOT_COMPONENT_BOOTSTRAP token (#59133)
Introduced the `ENABLE_ROOT_COMPONENT_BOOTSTRAP` token to control the bootstrapping of components during application initialization. This token is utilized by the Angular CLI in the `@angular/ssr` package, particularly during server-side rendering (SSR) when extracting routes.

When set to `false`, this token prevents the root component from being bootstrapped during SSR's route extraction phase, which is crucial for efficiently extracting routes without triggering component initialization. This mechanism separates the concerns of route extraction and component bootstrapping during SSR rendering, optimizing performance.

If not provided or set to `true`, the default behavior of bootstrapping the root component(s) during initialization is maintained.

Context: https://github.com/angular/angular-cli/issues/29085

PR Close #59133
2024-12-16 10:28:16 -08:00
..
global refactor(docs-infra): use interpolation instead of innerHTML for better perf (#58913) 2024-11-27 10:59:18 +01:00
primitives refactor(core): Remove event_contract_multi_container (#59059) 2024-12-05 15:24:43 -08:00
rxjs-interop refactor: replace ɵPendingTasks with ɵPendingTasksInternal (#59138) 2024-12-10 13:45:07 -08:00
schematics docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
src refactor(core): add ENABLE_ROOT_COMPONENT_BOOTSTRAP token (#59133) 2024-12-16 10:28:16 -08:00
test refactor(core): add ENABLE_ROOT_COMPONENT_BOOTSTRAP token (#59133) 2024-12-16 10:28:16 -08:00
testing refactor: replace ɵPendingTasks with ɵPendingTasksInternal (#59138) 2024-12-10 13:45:07 -08:00
BUILD.bazel refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update zone.js peer dependency for core package to 0.15.0 (#57431) 2024-08-21 13:17:52 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00