Flash messages with Hotwire

Опубликовано: 27 Сентябрь 2024
на канале: Rapid Ruby
3,586
118

A quick look at flash messages with Hotwire on Rails 6.1. We use a very simple stimulus controller to auto dismiss the flash messages.

Source code before:
https://github.com/phawk/hotwire-demo...

Source code after:
https://github.com/phawk/hotwire-demo...

---

Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks!
https://app.payhere.co/rapid-ruby/buy...

You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to https://rapidruby.com and use the code RRYOUTUBE for a discount!