Is StimulusJS good for this kind of project?

You bet, Stimulus (and maybe some clever use of turbo_stream elements) should make this work well.

For dynamically adding more resource B fieldsets, you might want to check out Matt Swanson’s tweet about the approach he found, which I thought was nice and lean.

1 Like