-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Reported by @bigfree:
I try, build is success but now there is an error in retrieving data from the DB 😢
redux-persist/getStoredState: Error restoring data [object Object] SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at defaultDeserialize (getStoredState.js:39:1)
at getStoredState.js:23:1
The data is stored in the database, but when the page is refreshed, it is no longer in the database. However, the structure of the database remains the same.
My persist config:
const persistConfig: PersistConfig<any> = {
key: 'root',
version: 1,
storage: createIdbStorage({
name: 'craedit',
storeName: 'craeditstore',
version: 1
}),
timeout: 100,
serialize: false,
debug: true,
blacklist: ['point']
};
Originally posted by @bigfree in #14 (comment)
Metadata
Metadata
Assignees
Labels
No labels