hotwire Questions

3

The turbo:load event is not fired after a turbo visit (as the documentation says it should). It works as expected after the initial full-page load. I can catch the "turbo:before-fetch-response...
Peursem asked 9/2, 2022 at 0:26

5

Solved

In Rails 7, Turbolinks is replaced by Hotwire / Turbo. This patches up web links so that they become AJAX-style requests just like Turbolinks did, but also patches up forms. On the whole, we found ...
Corinacorine asked 31/1, 2022 at 4:33

0

In a Rails 7 app, clicking an icon toggles the display property of a form. Both HTML elements connect properly to their respective controllers (toggler and togglee). The form (togglee) is an outlet...
Rigveda asked 7/1, 2023 at 0:56

1

Solved

I have a minor issue I can't seem to figure out. Regular flash works just as intended. flash[:test] = 'Blarrgh' redirect_to etcs_url Will display 'Blarrgh' since I have this code in my application...
Ezraezri asked 23/4, 2022 at 16:14
1

© 2022 - 2024 — McMap. All rights reserved.