Radoslav Stankov walks through how he uses the ViewComponent gem to structure a Rails-only front end for his Angry Building ERP side project. He shares a practical checklist for when to reach for ViewComponents vs partials/helpers, and dissects real code for stats, filter form, page header, and table components — including slots, builder patterns, i18n helpers, and smoke-testing components via Lookbook previews.
claude-opus-4-7f0af4dd8