3 ms·
It's nice that the 'storage' event also gives you event.newValue to spare you the race condition of reading from localStorage.
by hombre_fatal 2y ago
It's nice that the 'storage' event also gives you event.newValue to spare you the race condition of reading from localStorage.