mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `renderApplication` and `renderModule` methods currently encapsulate the entire rendering process, making it difficult to intercept key phases from a non-Angular context. This change exports the internal `render` method, allowing us to perform operations such as: - Flushing headers before hydration preparation - Handling non static redirects (e.g., 302 responses) - Intercepting router events for additional processing This refactor serves as an experimental step toward improving the API for better customization and integration in the future. PR Close #60416
14 lines
535 B
TypeScript
14 lines
535 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
export {
|
|
INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS,
|
|
SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS,
|
|
} from './server';
|
|
export {SERVER_CONTEXT as ɵSERVER_CONTEXT, renderInternal as ɵrenderInternal} from './utils';
|
|
export {ENABLE_DOM_EMULATION as ɵENABLE_DOM_EMULATION} from './tokens';
|