【发布时间】:2019-11-29 08:17:44
【问题描述】:
我使用ng update 将我的应用程序从 Angular 7 升级到了 Angular 8。当我通过ng serve 运行它时,我的控制台中会打印来自ngrx 的警告:
@ngrx/store: runtime checks are currently opt-in but will be the default in the next major version with the possibility to opt-out, see https://ngrx.io/guide/migration/v8 for more information.
所提供链接中的文档谈到 ngrx-store-freeze 已被弃用。但是,我的应用程序没有使用ngrx-store-freeze,而且我不知道什么是“运行时检查”。我需要对代码进行哪些更改才能解决此警告的来源?
【问题讨论】:
-
packagej.json 文件中引用了哪个版本的ngrx?
标签: angular ngrx ngrx-store