Beyond Stimulus: Simplifying JavaScript in Rails with Helium
Thursday 20th November 6:30pm at Colony, One Silk Street
This month, Darren "Daz" Jones will be give us a guided tour of their declarative alternative to Stimulus:
Stimulus has been a core part of Rails for nearly four years, transforming how we use JavaScript in our applications. But as great as it is, Stimulus controllers can sometimes feel clunky and awkward to work with. But what if we could do better?
In this talk, I’ll share how I set out to improve the developer experience by creating Helium — a tiny declarative JavaScript library that does everything a Stimulus controller can do, but directly in your views using simple data attributes (think Tailwind for JS).
I’ll demonstrate how it works, show some real-world examples, and rework a few common Stimulus controllers to highlight the cleaner, more expressive syntax Helium offers and hopefully show that it might be time to ditch Stimulus...
About our speaker
Daz is a Rails developer for Yozu, a development company based in Liverpool. Before this he taught Maths and Computing while pursuing web development as a hobby. He has written numerous articles for SitePoint and 3 books: Jump Start Sinatra, JavaScript Novice to Ninja and Learn to Code with JavaScript.
Schedule
- 6:30pm — We gather
 - 7:00pm — The talk starts
 - 8:00pm — We retire somewhere else for refreshments and further Ruby chat
 
Registration
If you plan to attend be sure to register so we can plan for numbers.
Thanks to our sponsors
NWRUG is kindly sponsored by Fatsoma who cover the venue hire and the pizza on the night and thoughtbot who buy the first round of drinks afterwards ❤️