I'm getting an empty object from getStoredState with asyncSessionStorage as storage.
getStoredState({}, (err, storedState) => {
console.log(storedState); // This is empty object
});
If I do use asyncLocalStorage, storedState is correctly defined.
I can see the session storage is there, so storing it isn't the problem. I can even write sessionStorage into my console and see that my current redux state is in it.
Hello,
I'm getting an empty object from getStoredState with asyncSessionStorage as storage.
getStoredState({}, (err, storedState) => { console.log(storedState); // This is empty object });
If I do use asyncLocalStorage, storedState is correctly defined.
I can see the session storage is there, so storing it isn't the problem. I can even write sessionStorage into my console and see that my current redux state is in it.
Would appreciate your help,
Thanks!