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
- Cut ViewComponent's share of boot by a quarter: look sidecar files up once while eager loading
- Fix `news/new` cache digest errors for component renders
- 4.18+ cache digest precompute logs false news/new dependency for render Component.new
- Rails 8.2: `herb:check` does not reach sidecar templates
- Add devtools
- Docs
- FieldsDefinition#target?
- FieldsDefinition#choices_for_views
- FieldsDefinition#choices_for_views=
- FieldsDefinition#required_field_on_target?
- FieldsDefinition#target_class
- FieldsDefinition#visible_for?
- FieldsDefinition#target=
- FieldsDefinition#targets
- FieldsDefinition#editable_by?
- FieldsDefinition.create_defaults!