I have been doing the following:
var store = window.localStorage;
store.setItem()
but now I see code doing this:
localStora
This is old, but today I may have found a difference.
I have a React app that was 'forgetting' the localstorage values when I ran it on my server with SSL without the WI DOW . Without SSL, it was working fine.
I went back and added the WINDOW to all the references to localstorage and the problem disappeared