Podcast Lookup

Refactoring Javascript with Stimulus Values API & Defaults

GoRails Screencasts

  • November 29, 2021
  • 20 min
Episode page

About this episode

Refactoring a Javascript countdown timer into a reusable Stimulus controller gives a look at the flexibility we can achieve by taking advantage of the Stimulus Values API and customizing the default values.