Better HN
topnewbestaskshowjobs
Log inSign up

castaigne

1 karma · joined Jun 3, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

A bit late to the party here, but I’ve used Hotwire for a little while now.

Turbo is wonderful and seemingly straightforward, but also has some real hidden gems that aren’t well-documented (a problem which plagues Stimulus as well).

Stimulus is also great, but you can’t go into it expecting React. State management can get very tedious.

I use Turbo and Stimulus for most interactions in my current project, but I pull in Preact and HTM where I really need them. It’s trivial to have a Stimulus controller mount a Preact component and sync state between them, so it’s all very transparent.