How to build modals with Hotwire (Turbo Frames + StimulusJS)
https://www.bearer.com/blog/how-to-build-modals-with-hotwire-turbo-frames-stimulusjs
Hotwire allows us to add Single Page App (Turbo Frames), or AJAX (Turbo Streams) functionality without writing any custom Javascript! (It has all been pre-written for us).
In this post we’re going to build a Rails 7 application that allows us to render modals while leveraging all the best bits of CSS, Javascript (Stimulus JS) and Turbo (Frames).
Post a comment