Understanding JavaScript Storage Events

preview_player
Показать описание
If you have ever opened multiple tabs or windows with pages from the same website then you can understand the importance of being able to track changes to data stored as web storage across those tabs or windows.
This tutorial outlines how you can keep track of the changes and update your interface when they happen.

Рекомендации по теме
Комментарии
Автор

Your tutorial is most helpful. I have been working on a conference app where users select which talks they wish to attend for parallel sessions, Their selection is stored in local storage. This provides a custom program for them that they access from a different page, I was unaware of this issue with local storage. Thanks for providing this informative video.

mikebryan
Автор

that's smooth! thought I need to use something like a socket, but nope 🤯 Very very cool! I don't need to use any frontend frameworks after watching a couple of your vids thanks Steve 🙌

ei_acc
Автор

Everyday you surprise me with something. Thanks Steve. See you soon!

CodingNuggets
Автор

I keep learning a new thing from you everyday! Thank you very much for sharing your knowledge in a way which is comprehensible and engaging!

ThEldeRS
Автор

Want to add a point:
The storage event does not fire for changes made within the same page that triggered the change.
It only fires for changes made by other documents within the same origin.

samyip
Автор

May I know what is the benefit of putting all the function inside an object?

samyip
visit shbcf.ru