Building Nested Forms in Rails with Stimulus | Rails Designer

In a previous article I wrote about nested forms with Turbo and no other dependencies. This is a great solution that works remarkably well, but I want to explore another option using Stimulus.Why explore another option? While the Turbo solution works great, there might be cases the round-trip to the server might be a bit much for simple, static HTML. After all, there’s no extra data needed from the server to render the nested fields.So let’s build the same feature, but now with Stimulus instead of Turbo.


Building Nested Forms in Rails with Stimulus | Rails Designer #ruby #rubydeveloper #rubyonrails #stimulus https://rubyonrails.ba/single/building-nested-forms-in-rails-with-stimulus-rails-designer

Nezir Zahirovic

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

related articles