use-storage-event Listens to dom 'storage' event, see MDN storage event docs API (usage) import useStorageEvent from 'use-storage-event'; const App = () => { const storageValue = useStorageEvent('storage-key'); return <p>{storageValue}</p>; };