Behind the Scenes: Rails UJS
07-May-2021 1826
Rails UJS (Unobtrusive JavaScript) is the JavaScript library that helps Rails do its magic when we use options like remote: true for many of the html helpers.In this article I'll try to explain the main concept of how this works to make it transparent for the user. Knowing a bit about the inner workings can help when debugging issues and also if we need to do something more complex than the provided interactions but reusing what's provided.
Behind the Scenes: Rails UJS #ruby #rubydeveloper #rubyonrails #Behind #Scenes: #Rails https://rubyonrails.ba/link/behind-the-scenes-rails-ujs