Frequent burns and pitfalls

Stimulus, Turbo Drive, Turbo Frames, and Turbo Streams

Each pitfall below is a working feature built the way it often gets built, paired with the same feature built the way Hotwire wants it. Both versions are real code, with a screencast of the failure and the fix.

Stimulus

Turbo Drive

Turbo Frames

Turbo Streams


Jeremy Smith

Jeremy Smith is a product-focused Rails developer running HYBRD, a one-person web studio. He has been working in Rails for the past 17 years. He co-hosts the IndieRails podcast and co-organizes the Blue Ridge Ruby conference.