All Lessons / How to use Stimulus JS 2.0's new Values and CSS Classes APIs

How to use Stimulus JS 2.0's new Values and CSS Classes APIs

#374 ยท December 7, 2020

Your Teacher | Chris Oliver

Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.

About This Episode

Stimulus JS 2.0 just came out and it includes the awesome Values and CSS Classes APIs

Notes

Stimulus JS 2.0 is finally out and it includes the brand new Values and CSS Classes APsI. These APIs have been in the works for almost 2 years now sitting in a PR with all of us patiently waiting this release.

These changes make parameters for your Stimulus controllers considerably easier to use. You'll use them to define options and CSS classes that your code uses.

Resources

Discussion

Loading...
logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.