Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the presentation titled '18 Months of Using Hotwire and ViewComponent in Production,' Yaroslav Shmarov discusses the integration of Hotwire and ViewComponent within Ruby on Rails applications. His experience comes from working at Bearer, a French startup, where the company transitioned from a GraphQL and React stack to utilizing Hotwire and ViewComponent for a more streamlined approach. Key points discussed in the talk include: - **Hotwire vs. React**: Yaroslav explains that while React is suited for B2C products and requires APIs for mobile applications, Hotwire excels in early-stage applications with fewer developers, focusing on desktop experiences. - **Technological Stack at Bearer**: The current stack comprises Hotwire, ViewComponent, Tailwind CSS, and a recent migration from Webpacker to CSS and JS bundling, which improved build times significantly. - **Structuring Frontend in Rails**: Yaroslav emphasizes the complexities in using helpers and decorators, suggesting that ViewComponent provides a clearer structure for developing reusable components and maintaining design consistency. - **Working with ViewComponent**: The speaker demonstrates how ViewComponent allows for the creation of numerous badge variants easily and discusses the flexibility in adding custom styles through CSS classes without duplicating components. - **Hotwire Features**: He covers the main components of Hotwire, including Turbo Frames and Turbo Streams, elaborating on how these tools enhance user interaction by enabling asynchronous loading, real-time updates, and dynamic forms. - **Live Demonstration**: Yaroslav showcases a live demo illustrating features like infinite scrolling, real-time search functionality, and multi-step forms, all designed to enhance user interface and experience without needing full-page refreshes. - **Modular Design Advantages**: The modular approach using Turbo Frames and Streams allows for better scalability and customization in applications, promoting efficient data management and presentation. - **Conclusion and Recommendations**: The talk concludes with an invitation to explore Hotwire and ViewComponent independently, underscoring their respective capabilities and integration potential with other frameworks like Stimulus Reflex and Action Cable. The speaker encourages attendees to reach out through social media for further discussions. Overall, Yaroslav's presentation demonstrates the effectiveness of combining Hotwire and ViewComponent to build modern, efficient Ruby on Rails applications while catering to design needs and user interactivity.
Suggest modifications
Cancel