localStorage is not available for local files in IE, so it looks like Amplify.js is defaulting to the next available storage type: http://amplifyjs.com/api/store/
AmplifyJS, IE11 strange storage choice (Memory vs. localStorage)
-
30-06-2023 - |
Вопрос
Why AmplifyJS uses different storage types in the following two cases:
- For this online example AmplifyJS uses localStorage in IE11, so the saved value is visible on different tabs.
- But when I save the page and run it locally, AmplifyJS chooses a Memory storage. As result the stored value is 'underfined' when we try to retrieve it from other tabs.
I see the issue for IE11 only. Chrome and Firefox work fine.
Thank you.
Решение
Не связан с StackOverflow