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/tree/turbo_modals Source code after: https://github.com/phawk/hotwire-demo/tree/turbo_flash_messages --- 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-me-a-coffee-aa4618e4-45d1-4727-81b9-2d081449d61d 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!
Published: Oct 02, 2021