mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commits adds `makeStateKey`, `StateKey` and `TransferState` methods in `@angular/core` as public API and deprecated the same exported symbols in `@angular/platform-browser`.
DEPRECATED: `makeStateKey`, `StateKey` and `TransferState` exports have been moved from `@angular/platform-browser` to `@angular/core`. Please update the imports.
```diff
- import {makeStateKey, StateKey, TransferState} from '@angular/platform-browser';
+ import {makeStateKey, StateKey, TransferState} from '@angular/core';
```
PR Close #49563
|
||
|---|---|---|
| .. | ||
| helloworld | ||
| http-transferstate-lazy | ||
| transferstate | ||
| server.ts | ||