Use localStorage for Tab Synchronization

07 March 2024

Updated: 07 March 2024

localStorage

localStorage is a method for persistent data storage in the browser. The storage itself is a simple key-value store with a synchronous API

We can write data to a given key using the following: