我使用ng update将我的应用程序从Angular 7升级到Angular 8。当我通过ng serve运行它时,我的控制台中会打印一个来自ngrx的警告
@ngrx/store: runtime checks are currently opt-in but will be thedefault in the next major version with the possibility to opt-out, see https://ngrx.io&
我正在尝试将inputVal值添加到状态。它只在第一次点击时起作用,并且在第一次点击后得到这个错误 错误:TypeError: Cannot add property 1, object is not extensible import { createReducer, on } from '@ngrx/store'
import { addTodo } from '..中推送或更新状态?或者,如果不可能,那么解决它的办法是什么?