Self-destructing StimulusJS controllers
Add sprinkles of Javascript behavior with Stimulus controllers that run a few lines of code and then remove themselves from the page. Like inlined jQuery snippets but for the modern times!
https://boringrails.com/articles/self-destructing-stimulus-controllers/
Post a comment