Hotwire Modals with ZERO JAVASCRIPT

A really quick run-through creating modals with Hotwire (no javascript required) in Rails 6.1. This approach relies solely on Turbo Frames and doesn't require writing any stimulus JS controllers. Source code before: https://github.com/phawk/hotwire-demo Source code after: https://github.com/phawk/hotwire-demo/tree/turbo_modals --- 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

View my video on YouTube