我试图通过ngrx-store-localstorage加密存储,就像它在文档中显示的那样:import { localStorageSync } from 'ngrx-store-localstorage';
export function _localStorageSync(reducerrehydrate: tru
我正在使用ngrx-store-localstorage包在本地存储和ngrx/store之间同步状态。我像Github上显示的那样设置了它,但它不起作用。我很容易登录,ngrx devtools中的状态被更新,但本地存储中的token仍然为空,因为初始状态已设置。以下是包、代码和所有内容的github链接:
export function localStorageS