New answers tagged


It's primarily compatibility. Your mistake was looking at the W3School page for localStorage. If you opened the MDN version, you can see that localStorage is compatible across the board on browsers within the last 10 years, whereas BroadCast Channel is still not compatible with any Safari or Safari iOS, which is going to be a very massive problem. ...


Something to keep in mind is that you can only add one inline event on a node but you can add many via event handlers.

Top 50 recent answers are included