填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

BrowserTransferStateModule

要安装在客户端的 NgModule,它同时会使用 TransferState 将状态从服务器传输到客户端。

NgModule to install on the client side while using the TransferState to transfer state from server to client.

      
      class BrowserTransferStateModule {
}
    

提供商

提供商
      
      { provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }