3 ms·
Congrats to the Phoenix team on another milestone win. Your rising tide is lifting many boats. For those of you working in Rails, you will be excited to know t
by peteforde 7y ago
Congrats to the Phoenix team on another milestone win. Your rising tide is lifting many boats.
For those of you working in Rails, you will be excited to know that we have StimulusReflex:
https://docs.stimulusreflex.com/ https://docs.stimulusreflex.com/
SR was inspired by LiveView. It's built on ActionCable, CableReady and morphdom. It is fast like a demon and works well with AnyCable. You can see demos here:
http://expo.stimulusreflex.com/demos/tabular http://expo.stimulusreflex.com/demos/tabular
- theonething 7y agoNeat! How does this compare with Turbolinks?
- peteforde 7y agoIt's not an OR, it's an AND. StimulusReflex is built on top of Stimulus, which is designed to work arm-in-arm with Turbolinks. We think that the combination of Rails + Stimulus + Turbolinks + StimulusReflex + solid Russian doll caching is the greatest thing since sliced bread.
- porker 7y agoIt would be great to have a higher-level explanation that included this. I read through the first 4-5 pages of the docs and saw it mentioned these, but didn't pick up (until the code examples) that it used them. I'm not a Rails programmer, but I'm keen to learn about all the different approaches being used & tried, to see what I can make fit with my language.
- peteforde 7y agoHelp! I'm the guy who writes those docs. I want them to be better. Nothing strikes terror like "I read through the first 4-5 pages of the docs and saw it mentioned these, but didn't pick up that it used them." To me, that's like "When I ordered beef, I didn't know you meant a cow!" lol Seriously, help me help you. Where did I fuck this up? The very first paragraph of the Quick Start page: "A great user experience can be created with Rails alone. Tools such as UJS remote elements, Stimulus, and Turbolinks are incredibly powerful when combined. Could you build your application using these tools without introducing StimulusReflex?" https://docs.stimulusreflex.com/quickstart https://docs.stimulusreflex.com/quickstart What is the thing you could have read and understood right away? I really appreciate whatever you can suggest.