Give early warning to users of form errors before they submit. With client side validations, the user can correct any errors prior to submitting the form.
In this episode, we look at some common functionality that we got with Rails UJS and what it looks like to reimplement these with Hotwire's Turbo and StimulusJS.
Using Interact.js to create draggable and droppable items in our view, we can use AJAX callbacks on events to interact with our Ruby on Rails application. Also, learn how to use Ruby Assets to manage our Javascript Libraries.
Sometimes adding a javascript library can be difficult because either it's not a straightforward process or some of the blog articles are either outdated or don't work properly. In this episode, we look at adding SweetAlerts into a Rails 6 application with Webpacker.