Same-Origin Page Communication Across Tabs Is So Easy
Use the Broadcast Channel API To Easily Handle Communication Between Pages of the Same Origin.
Published in
4 min readSep 27, 2022
When developing a web project, you may encounter scenarios of communication between pages of the same origin. For this scenario, we can use localStorage and storage events to solve the problem of communication between…