Re:Two Patterns for StimulusReflex Form Submissions
by julianrubisch on Wednesday October 28, 2020 @06:51AM
(#24917317)
I wasn’t aware of LiveComponent, thanks for that!
Frankly, patterns around SR are just materializing but there’s for example https://github.com/joshleblanc/view_component_reflex that’s maybe comparable.
CableReady is the Swiss Army knife, there’s a whole ecosystem forming around it, e.g. https://github.com/julianrubisch/futurism, a lazy loading gem by me or https://optimism.leastbad.com/, a remote form validation gem (presumably superseded by Rails 6.1/TL6, but who knows)
You might want to follow me on twitter, I‘ll be posting my explorations there!
Re:Two Patterns for StimulusReflex Form Submissions
by ezis-wheezy on Monday October 26, 2020 @06:29PM
(#24902271)
I'm also curious about the recommendation to avoid form submission with SR.
I'm still going through the post but this is targeted to some of the questions a developer looking at Stimulus Reflex has to consider.
Do you think pulling prior art from something like LiveView is helpful as well?
For example: https://elixirschool.com/blog/live-view-live-component/