Two Patterns for StimulusReflex Form Submissions (blog.minthesize.com) 5 points by julianrubisch 5y ago ↗ HN
[–] ezis-wheezy 5y ago ↗ Hey Julian, thanks for posting this.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/ [–] ezis-wheezy 5y ago ↗ I'm also curious about the recommendation to avoid form submission with SR. [–] julianrubisch 5y ago ↗ 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!
[–] julianrubisch 5y ago ↗ 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!
3 comments
[ 3.5 ms ] story [ 20.6 ms ] threadI'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/
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!