dhh – walker – 2021-01

9 items · updated 2026-05-19 23:30 UTC · RSS · Up to archive

Stimulus 2.0 values on a target (replacing dataset)?

hotwire discuss dhh · 2021-01-25

We considered adding a pattern for per-element values as well under the idea of “parameters”. But yeah, for now you have to do it by hand.

Form redirects not working as expected

hotwire discuss dhh · 2021-01-25

If you redirect in response to an action within a frame, the place you redirect to has to have a matching frame tag. What you’re describing

Stimulus controller not working in lazy loaded frame

hotwire discuss dhh · 2021-01-25

This has been fixed in latest stimulus-rails that uses a new autoloader based on the mutation observer.

Installing Turbo with the Asset Pipeline

hotwire discuss dhh · 2021-01-06

Using Turbo with the asset pipeline is meant to be used without concatenation or transpiling. The asset pipeline is only used the copy and f

Authentication and Devise with broadcasts

hotwire discuss dhh · 2021-01-06

Partials used for turbo streaming have to be free of global references, as they’re rendered by the ApplicationRenderer, not within the conte

Custom Forms - confusion

hotwire discuss dhh · 2021-01-06

We’re going to fix this by turn a GET form submission into a visit. On the road map ✌

Installing Turbo with the Asset Pipeline

hotwire discuss dhh · 2021-01-06

Turbo for ESM is meant to be used as an import. So you’ll have to do import { Turbo } from "turbo" in your stimulus controller or elsewhere

Native Push Notifications

hotwire discuss dhh · 2021-01-06

Nothing built-in. You’ll have to do that on your own. Don’t think it’s a fit for Turbo either, since there’s nothing about HTML in those not

Rails 6, Hot-wire with Asset Pipeline, Bootstrap5

hotwire discuss dhh · 2021-01-06

Currently, you have to download the ESM versions yourself, and then put them in app/assets/javascripts/mylib@1.0.0.js, which then allows you