Custom Form Handling With Turbo. Turbo will be a default part of Rails…

Turbo will be a default part of Rails from Rails 7, replacing Turbolinks and rails-ujs. This post is a result of time I spent digging into Turbo, in particular its implications for forms that don’t seem to fit what Turbo is designed for: that is, forms that don’t necessarily (or only) trigger a redirect or DOM changes. I don’t have a definitive answer for what we should do in these cases, but I’ll explain some options that might be useful if or when Turbo’s constraints feel a bit awkward.
Custom Form Handling With Turbo. Turbo will be a default part of Rails… #ruby #rubydeveloper #rubyonrails #turbo. https://rubyonrails.ba/single/custom-form-handling-with-turbo-turbo-will-be-a-default-part-of-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles