Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在使用 Angular 原理图生成我的 Angular 代码时,我注意到了这条线
ngrx-push-migration - 迁移以替换async管道ngrxPush
async
ngrxPush
这看起来很有趣,所以我用谷歌搜索并发现
该ngrxPush管道用作异步管道的替代品。它包含对更改检测的智能处理,使我们能够在全区域和无区域模式下运行,而无需对代码进行任何更改
这听起来很有趣,所以我决定试一试,但似乎需要选项
有什么建议吗?迁移安全吗?
如 中所写https://ngrx.io/guide/component/push,此迁移是安全的 ин 管道更改。
https://ngrx.io/guide/component/push