Closed themojilla closed 3 years ago
Solve the problem
persistState(null, {
slicer: (paths) => (state) => {
return {compareList: state['listPage']['compareList']}
}
})
but now the problem is when i refresh the page the localstorage key will be empty
{"compareList":{}}
Hi and thanks for your great repo My state looks like below
Could you please give an example how to include "compareList" piece in persistState method Thanks a lot.