Login
Roast topics
Find topics
Find it!
From:
Boring Rails: Skip the bullshit and ship fast |
(Uncensored)
subscribe
Self-destructing StimulusJS controllers
https://boringrails.com/articles/self-destructing-stimulus-controllers/
links
backlinks
Tagged with:
post
Roast topics
Find topics
Roast it!
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!