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
- Stats::Views::UsageHack::StorageCache#mget
- Stats::Views::UsageHack::StorageCache#keys
- Stats::Views::UsageHack::StorageCache#cache=
- Stats::Views::UsageHack::StorageCache#cache
- Stats::Views::UsageHack#map_cache
- Stats::Views::UsageHack#fake_to_cache
- Stats::Views::UsageHack#usage_for_all
- Backend::Transaction#usage
- Backend::Transaction#usage=
- Backend::Transaction#confirmed?