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.
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.
Mountable Engines are a great way to extract code into its own namespace and allow the code to be reused in other applications. Other popular gems that are mountable engines are Devise and Doorkeeper.