ViewComponents in the Real World - Joel Hawksley

  Рет қаралды 7,381

Ruby Central

Ruby Central

3 жыл бұрын

With the release of 6.1, Rails added support for rendering objects that respond to render_in, a feature extracted from the GitHub application. This change enabled the development of ViewComponent, a framework for building reusable, testable & encapsulated view components. In this talk, we’ll share what we’ve learned scaling to hundreds of ViewComponents in our application, open sourcing a library of ViewComponents, and nurturing a thriving community around the project, both internally and externally.

Пікірлер: 4
@SupeRails
@SupeRails 2 жыл бұрын
33:44 we need more extractors! (people who extract cool stuff from existing apps and share it in public with the world)!
@konung5
@konung5 2 жыл бұрын
HI. Interesting presentation. Thank you. However, I was wondering, why did you decide to implement ViewComponents, and not use and existing project like Cells gem? What are the benefits of using ViewComponent vs Cells or Hanami Views? P.S.: Cells has been around for ages - really solid, and fast. Tests are blazing fast, and it's been used in production by 100's of projects. And implemented a lot of the same ideas you mentioned.
@SupeRails
@SupeRails 2 жыл бұрын
13:00 100 times faster than controller tests :)
@lukegordon4734
@lukegordon4734 Жыл бұрын
On the off chance someone from this project has insight, how did they go about implementing `assert_query_counts` that they talk about at 15:00?
Hotwire Demystified - Jamie Gaskins
34:18
Ruby Central
Рет қаралды 11 М.
RailsConf 2020 CE - Encapsulating Views by Joel Hawksley
37:11
He tried to save his parking spot, instant karma
00:28
Zach King
Рет қаралды 23 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 30 МЛН
Frontendless Rails frontend - Vladimir Dementyev
34:35
Ruby Central
Рет қаралды 10 М.
Building Reusable UI Components in ASP.NET Core MVC (DevReach 2017)
1:03:36
Is ViewComponent the Future of Rails?
12:25
Mix & Go
Рет қаралды 7 М.
Realtime Apps with Hotwire & ActionMailbox - Chris Oliver
43:47
Ruby Central
Рет қаралды 4,2 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 8 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 777 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 5 МЛН
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 87 М.