3 comments

[ 3.5 ms ] story [ 20.6 ms ] thread
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/

I'm also curious about the recommendation to avoid form submission with SR.
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!