News for hackers. Stuff that matters.
Re:LiveView Is Best with Svelte by MatthiasPortzel on Wednesday April 03, 2024 @10:58AM (#39918339)
When Stimulus/Turbo was first announced, I was really hoping it would help with the problems that the author describes.

Unfortunately, Stimulus doesn’t actually provide an elegant way to keep state on the client. “A stimulus application’s state lives as attributes in the DOM.” This means that it’s not better than vanilla JS or jQuery.

Edit: I haven’t used Stimulus for a real project; it’s possible their values and change callbacks are a better experience than I originally imagined.

There are no comments on this comment yet.