googlearchive / iron-signals

Publish-subscribe functionality
14 stars 16 forks source link

Why not just use the postMessage API? #17

Closed ghost closed 7 years ago

ghost commented 8 years ago

Although the postMessage API is commonly described for passing messages across domains in a browser, you can target the window element and post messages between all DOM nodes in the current document. The postMessage API is supported by all Evergreen browsers.

What is the advantage of using iron-signals?