view_component
https://github.com/viewcomponent/view_component
Ruby
A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
7 Subscribers
Add a CodeTriage badge to view_component
Help out
- Issues
- Using `SlotableDefault` include does not allow default slot to be overridden
- Request to Join Commit Team
- feat: Add --skip-suffix option to component generator
- Introducing ViewComponent Guru on Gurubase.io
- Documentation Update: Add a section for how to add the render_inline helpers to RSpec tests
- Document a propshaft approach to JS/CSS
- Child Component Content Blocks Not Rendering in Parent Component
- Refactor compiler to use ActionView's partial sorting algorithm
- ViewComponents only supports one variant
- Move generators into ViewComponent namespace
- Docs
- Rspec::Generators::ComponentGenerator#spec_component_path
- ViewComponent::Base#output_preamble
- ViewComponent::Base#safe_output_preamble
- ViewComponent::Base#compiler
- ViewComponent::Base#safe_output_postamble
- ViewComponent::Base#safe_render_template_for
- ViewComponent::Base#maybe_escape_html
- ViewComponent::Compiler#renders_template_for_variant?
- Proxy#metric_in_latest_configs?
- Metric#belongs_to_latest_config?