StimPine Comparison and SLICE/PLUCK/FLICK

2024-05-28


Hey friends,

Just a PSA now that the weather's nice: if you work outside you should PROBABLY put on sunscreen.

(Don't be like me and get burned!) ๐Ÿ˜…๐ŸŒž๐Ÿงด


Thinking Too Hard

This week I spent some time last week evaluating Alpine JS as a potential replacement for the standard JS controller library we use at Viget: Stimulus

There's similar in that:

But then they start to diverge in their expectations:

My basic overall impression is that Stimulus keeps things in the vanilla JS 'feel' but with some weird naming magic helpers, where Alpine has a more Vue-inspired minimal aesthetic. I've found Alpine harder to extend, but you get a LOT for free and you wind up having to write less code.

Both are great libraries, but as I've written before, the DOM-scoping features of Alpine make it especially attractive for component-driven development. I'll keep kicking the tires on this one...


Interesting Web Bits


Don't miss what's next. Subscribe to Net Noodlings with Nathan: