我只是在Ngrx保存状态数据的地方徘徊 . 它只是在内存存储中,还是使用localStorage或indexDB?我的意思是它在应用程序刷新时如何存储状态?
默认情况下它仅在内存中 . 有些软件包允许支持客户端上的持久性 .
IndexDB:https://github.com/ngrx/db
LS:https://github.com/btroncone/ngrx-store-localstorage
1 回答
默认情况下它仅在内存中 . 有些软件包允许支持客户端上的持久性 .
IndexDB:https://github.com/ngrx/db
LS:https://github.com/btroncone/ngrx-store-localstorage