Remote Ruby

Advanced StimulusReflex & CableReady in real-world apps


Listen Later

[00:06:10] Jason starts out by talking about working on action cable this past weekend since he uses stimulus reflex for everything in life and he couldn’t control the logging.  Chris mentions he had a similar issue happen to him. 


[00:10:00] Andrew chimes in to say he thinks this is a place where components can really shine with cable ready. Jason talks about using components at work. 


[00:13:19] Chris wonders if Jason has dropped down into Cable Ready since he’s been using Stimulus Reflex a lot. Chris finds it far more effective than Stimulus Reflex for what he has to do. 


[00:18:51] Jason brings up offline and using it with Trix and he feels like he’s having to break rules to get it to work with Trix.  Cursor positioning issues are talked about here. 


[00:21:56] The guys chat about using halt so actions don’t re-render. Andrew reads the docs and lets us know what it says about halts


[00:25:19] Jason talks about the really cool and foundational pieces is the JavaScript Callbacks and he explains why. He also tells us about something he did for fun with rewriting messaging in Reflex. 


[00:33:32] Chris brings up the scroll stuff and how that gets to the edge of trickiness with Stimulus Reflex for chat. He wonders if you want to scroll back in history how do you keep track of it and render it? Andrew shares something with Chris he has in their code base that may help. 

[00:37:35] Staying on the topic of Reflex, Jason mentions shipping out through Podia, a Stimulus Reflex testing library called, “Stimulus Reflex Testing” and he couldn’t find any test helpers or any testing story for reflex right now.  

[00:42:00] Jason mentions a problem he’s had with reflex creating a request, like a dummy request in order for it to re-render. He explains what happens and what he tries to do to make it work out. 

[00:46:47] Andrew explains why there is no amazing testing support in Reflex and he also has a few suggestions for Jason that he could try.  

[00:49:57] Andrew asks the guys if they’ve enabled the new design on GitHub yet and he tells them how to do it. 


Sponsor:

Linode



Panelists:

Jason Charnes

Chris Oliver

Andrew Mason



Links

Server-Side Reflex Callbacks

Turbolinks persist scroll.js-GitHib

Podia StimulusReflex testing-GitHib

Action Cable

JavaScript Callbacks

CableReady-GitHub

  • Chris Oliver X/Twitter
  • Andrew Mason X/Twitter
  • Jason Charnes X/Twitter


...more
View all episodesView all episodes
Download on the App Store

Remote RubyBy Chris Oliver, Andrew Mason

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

34 ratings


More shows like Remote Ruby

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

377 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

282 Listeners

The Ruby on Rails Podcast by Elise Shaffer

The Ruby on Rails Podcast

53 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

627 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

21 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

984 Listeners

REWORK by 37signals

REWORK

210 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Code with Jason by Jason Swett

Code with Jason

14 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

64 Listeners

Code and the Coding Coders who Code it by Drew Bragg

Code and the Coding Coders who Code it

6 Listeners

IndieRails by Jess Brown & Jeremy Smith

IndieRails

5 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

52 Listeners