Even with isSaveState: false, it gets "DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document" when storage is disabled in the browser settings.
All usage of localStorage should be wrapped in a try-catch.
Even with
isSaveState: false, it gets "DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document" when storage is disabled in the browser settings.All usage of
localStorageshould be wrapped in a try-catch.