AmplifyJS, IE11 storage choice (Memory vs. localStorage)
42 views
Skip to first unread message
Anton Lygin
unread,
Apr 9, 2014, 5:46:33 PM4/9/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ampl...@googlegroups.com
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.