MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/109uau2/javascript_localstorage_the_complete_guide/j4159bs/?context=3
r/javascript • u/pmz • Jan 12 '23
6 comments sorted by
View all comments
4
Why are you manually creating StorageEvents? They get generated by other tabs on the same domain whenever a storage object gets modified. window.addEventListener('storage',...
4
u/THE_AWESOM-O_4000 Jan 12 '23
Why are you manually creating StorageEvents? They get generated by other tabs on the same domain whenever a storage object gets modified. window.addEventListener('storage',...