Podcast Lookup

How to create Custom Elements with Web Components

GoRails Screencasts

  • June 14, 2021
  • 16 min
Episode page

About this episode

Web Components are a great way to encapsulate Javascript logic around an element in your HTML. We'll explore how to create Custom Elements and see how Hotwire uses them for Turbo Stream actions.