使用loadState方法讀取持久化的資料,在createStore時候使用第二個引數來指定;同時訂閱store的變化調取儲存的saveState方法,這裡針對效能使用lodash ...
確定! 回上一頁