Remote Ruby

ViewComponents and the Future of Assets with Joel Hawksley


Listen Later

After Jason talked about his side project last week, he tells us he had to abandon Stripe checkout and did something else instead, and Chris announced he just did a Stripe Checkout video for GoRails this week. Joining us on today’s episode, we have Joel Hawksley, an Engineer at GitHub and creator of ViewComponent. We learn what ViewComponents are, how Joel came up with the idea, and his latest experiment and vision for it, which is a big one. Joel tells us some ideas he has for Cuprite, and Andrew talks about how Percy is a nice tool to use. Also, for those of you who haven’t used the components library or maybe haven’t started thinking about building Rails apps in terms of components, Joel is here to help answer some questions Andrew has for him.  

[00:03:23] Joel tells us about himself and what he does at GitHub.


[00:05:38] Find out what ViewComponents are and how Joel came up with this idea.


[00:09:38] Jason wonders if there are any experiments that Joel has tried that didn’t work out with ViewComponent or things that were experiments that were really successful.

  

[00:10:52] Joel fills us in on his latest experiment and his vision for it.


[00:16:33] Joel tells us about generating the styled component in React inline and he brings up a problem with view caching with styled components where he needs help from people.


[00:21:12] Andrew talks about a gnarly Tailwind class he did.


[00:22:52] Joel fills us in on some cool things they started experimenting with.  He also mentions looking at Cuprite and having some wild ideas for it.


[00:24:56] Andrew and Joel chat about using Percy.


[00:29:36] Andrew asks Joel when to reach for the partial over the component.


[00:31:01] Since the last time they talked, Joel said that they had a lot of success in building components out of smaller components, and Andrew wants to know if this is still the case.


[00:32:16] Learn more about using partial components.


[00:33:39] Find out what Joel thinks makes a good component. 

[00:38:30] Andrew asks Joel if some cool things he’s seen with ViewComponents that other people have done.


[00:41:00] Jason wonders if Joel has any predictions and where does he think this is going. 


[00:43:34] Joel chats about parallels in between the JavaScript and the CSS space.


[00:46:09] Jason brings up ViewComponent and a PR that was opened to get it into Rails, and then he found out that it isn’t going to be put into Rails, and Joel explains in depth the reason behind this.  


[00:51:09] RailsConf 2021 is coming up and Joel tells us what he’ll be talking about.


[00:55:17] Find out where you can follow Joel online.


Panelists:

Jason Charnes

Chris Oliver

Andrew Mason


Guest:

Joel Hawksley


Sponsor:

Honeybadger


Links:

Joel Hawksley Website
The Ruby Blend Podcast-Episode 9: ViewComponent at GitHub with Joel Hawksley

Stripe Checkout in Rails with the Pay gem by Chis Oliver

  • 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

626 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