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
- Budget::Investment#should_show_price_explanation?
- Budget::Investment#should_show_price?
- Budget::Investment#should_show_ballots?
- Budget::Investment#should_show_vote_count?
- Budget::Investment#should_show_votes?
- Budget::Investment#should_show_aside?
- Budget::Investment#set_responsible_name
- Budget::Investment#recalculate_heading_winners
- Budget::Investment#calculate_confidence_score
- Budget::Investment#register_selection