Register for this year’s #ChromeDevSummit happening on Nov. 11-12 in San Francisco to learn about the latest features and tools coming to the Web. Request an invite on the Chrome Dev Summit 2019 website

New In Chrome 54

Note: I'm trying something new with the latest video release of New In Chrome,
in addition to posting it on YouTube, I've posted a fully annoted version
of the script. It includes all of the relevant links I mentioned, and a few
other helpful links. Leave your thoughts in the comments and let me know
if this is useful to you!

I’m Pete LePage, let’s dive in and see what’s new for developers in Chrome 54!

Custom elements v1

Complex user interfaces often require a large amount of HTML. Most
languages allow developers to create their own components built on top
of language primitives to mitigate this kind of verbosity. But until now,
creating reusable components on the web has been difficult.

Custom elements allow you to create your own custom HTML tags, and define
the new element’s API and behavior in JavaScript. The result, a
browser-native way to build reusable, interoperable components.

Chrome 54 provides support for the latest custom elements
V1 spec, and will continue to support the
V0 API until enough of you have moved to V1.

Check out our primer on custom elements to how
you can use it to create reusable web components for your site or application.

BroadcastChannel API

It is not uncommon for desktop users to have multiple windows or tabs
open simultaneously, and some sites even encourage this behavior, such as
web editors that open documents in their own tabs.

Communicating between those tabs can be difficult. The
BroadcastChannel API is a new one-to-many messaging
API between windows, tabs, iframes, web workers, and service workers. It
allows scripts to establish named channels to send messages between
browsing contexts of the same origin.