modest JavaScript framework for the HTML
View Image | View Image |
|---|---|
Recently, I went for an interview, and the company use Ruby on Rails alongside with Stimulus.js.
The second and third image shows what I had done with Stimulus.js for my interview question where I bind the button to copy the link in the textarea.
The way Stimulus works is via HTML-binding just like how Vue and Angular works, but this framework works perfectly out of the box with Server rendered HTML. In Ruby on Rails case, it's .erb file.
With Stimulus, you can add modern JavaScript feature into your existing website without giving up the strength of server rendered HTML.
Stimulus is lightweight, provides simple API to do JavaScript related task alongside with server rendered HTML and also works very well with webpack too!
If you wanted to add modern feature of JavaScript into your existing web app written in Ruby On Rails (erb), PHP or whatever language, this would be a quick move without rewriting everything that you had done
Hunter: @superoo7
This is posted on Steemhunt - A place where you can dig products and earn STEEM.
View on Steemhunt.com