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
- ReactComponentHelper#div_tag_with_data
- ReactComponentHelper#serialized_media_attachments
- ReactComponentHelper#react_admin_component
- ReactComponentHelper#react_component
- Admin::IpBlocksHelper#ip_blocks_severity_label
- Admin::DashboardHelper#date_range
- PrivacyController#show
- GeneratedAnnualReport#view!
- GeneratedAnnualReport#viewed?
- Account::Search#searchable_properties