feat(platform-server): provide a way to hook into renderModule* (#19023)
A multi RENDER_MODULE_HOOK provider can provide function that will be called with the current document just before the document is rendered to string. This hook can for example be used for the state transfer module to serialize any server state that needs to be transported to the client, just before the current platform state is rendered to string. PR Close #19023
This commit is contained in:

committed by
Miško Hevery

parent
15945c8791
commit
8dfc3c386a
@ -8,7 +8,7 @@
|
||||
|
||||
export {PlatformState} from './platform_state';
|
||||
export {ServerModule, platformDynamicServer, platformServer} from './server';
|
||||
export {INITIAL_CONFIG, PlatformConfig} from './tokens';
|
||||
export {BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformConfig} from './tokens';
|
||||
export {renderModule, renderModuleFactory} from './utils';
|
||||
|
||||
export * from './private_export';
|
||||
|
Reference in New Issue
Block a user