mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The transfer state backend merges the per-root `ɵgetTransferState` results into a plain object literal with `Object.assign`. A key such as `__proto__` assigns through the inherited setter, dropping the entry and reparenting the merged object. Use a null-prototype object as the merge target so the key is kept as an ordinary entry.