Sprinkle Javascript with StimulusJS


Duration: 25 mins
Leena S N
Founder, Good Karma

In this world of Microservices, I am building a Monolith app. In this world of React and Vue, I am building a server-side rendered app. However, I need Javascript. I need some parts of the page updated dynamically. I need to show/hide individual sections of the page depending upon user actions. I don't want JQuery for obvious reasons. Slow.., Heavy and then, of course, it can easily create spaghetti code. I found the answer in Stimulus JS, a modest Javascript framework. It sprinkles Javascript to add behaviour to your HTML. Stimulus JS has a controller, action and targets (i.e. the HTML elements). Moreover, it pairs well with Turbolinks, and saves me the hassle of converting JSON to DOM. I've been using Stimulus for over a year and it's been quite good.

This talk is about Leena's experiences with Stimulus, along with a few examples. She will share recommendations on where it might be useful and where it is not.

You may also be interested in

50 mins
Sailing through Digital Transformation

The current health crisis is rapidly reshaping, for the better, what was already a key agenda for organizations in 2020...

50 mins
Do You Know Da Wae

We build development teams based on individual ability to write code but development of a software project of any significance...

50 mins
Systems Thinking

Albert Einstein once said — “We cannot solve our problems with the same thinking we used when we created them.” As...

180 mins
Foundations of Tech Leadership

According to a CareerBuilder study, only 40% of new engineering leaders receive formal training when they become a boss for...

50 mins
Empowering, Growing and Coaching your Superstars

Nothing is more rewarding than when your leaders or teammates help you reach your goals or the next level of your career. ...

50 mins
The Dao of Tech Leadership

Effectively managing humans requires a certain level of self-awareness. Therefore, understanding your WHY and what drives you is vitally important...