TransferState provides a shared store that is transferred from the server to client. To use it import BrowserTransferStateModule from the client app module and ServerTransferStateModule from the server app module and TransferState will be available as an Injectable object. PR Close #19134
17 lines
599 B
TypeScript
17 lines
599 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. 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.io/license
|
|
*/
|
|
|
|
export {PlatformState} from './platform_state';
|
|
export {ServerModule, platformDynamicServer, platformServer} from './server';
|
|
export {BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformConfig} from './tokens';
|
|
export {ServerTransferStateModule} from './transfer_state';
|
|
export {renderModule, renderModuleFactory} from './utils';
|
|
|
|
export * from './private_export';
|
|
export {VERSION} from './version';
|