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
10x productivity for Developers and Architects

Productivity is key to success in software development. We will be exploring different principles, so you do not have to...

50 mins
On Being an Effective Developer

As developers we not only operate in different contexts, but also often have these different contexts interplay as part of...

50 mins
Mental Bookmarks and the Fractal Nature of Success

Good discussions are supposed to diverge from their intended path. Free association is a feature, not a bug, and helps...

50 mins
Identifying And Removing Impediments

Executing a software project has many challenges. For a team to function smoothly and deliver working solution we have to...

50 mins
Top 10 Algorithms for Coding Interviews

So we are all the best coders, but have you see the run time of the code you are writing?...

50 mins
Slowdown to Gain Speed: Technical Practices that Take Time but Save Time

As a software development manager or a technical leader you are eager to remove impediments so your team can produce...