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
- Release 4.17.0
- Support rendering components in non-main Ractors
- Only recompile components when a template changed, instead of before every request
- Only recompile components when a template changed, instead of before every request
- Fall back to global translations in Component.translate
- Only register the compile cache executor hook without template caching
- Enable caching support for all components by default
- Rails 8.2: `herb:check` does not reach sidecar templates
- Add devtools
- Docs
- ValuatorsHelper#valuator_label
- ValuationHelper#explanation_field
- ProposalsHelper#show_recommended_proposals?
- ProposalsHelper#show_featured_proposals?
- ProposalsHelper#show_proposal_votes?
- ProposalsHelper#css_for_proposal_info_row
- ProposalsHelper#link_to_toggle_proposal_selection
- ProposalsHelper#proposals_secondary_view
- ProposalsHelper#proposals_current_view
- ProposalsHelper#proposals_default_view?