This post is about dealing with the Rails's new front-end solutions - Turbo and Stimulus which are also known as the core parts of Hotwire. Particularly, I will show you how you can handle Ajax form submission, compared to the old approach using rails-ujs.
Using Server-Sent Events (SSE) technology for establishing a persistent connection between a Rails application and a client. Using Rack Hijacking API to take over the connections and free the application’s web server threads in order to handle more connections using fewer server threads.