If you’re confused about Hotwire, Turbo, or Stimulus JS, I made a video about how to build a drag & drop feature using Hotwire’s Stimulus JS and Turbo streams.
We’re going to look at:
- How to create event handlers with Stimulus JS
- How to bind events to those handlers
- And, how to render the response without doing a full-page reload
Check it out: Ruby on Rails 7 Drag & Drop With Hotwire - YouTube