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
- Track slot classes, method-built components and included modules in cache digests- #1
- Skip binary Ruby sources when scanning cache digest dependencies
- Render the template for the current format when a lookup context changes formats
- 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
- ApiSupport::ForbidParams#_forbid_params_whitelist_keys
- ApiSupport::UnpermittedParametersError#initialize
- #log_out
- ApiSupport::PrepareResponseRepresenter::ClassMethods#representer
- ApiDocsServiceHelper#fill_in_api_docs_service_body
- ApiDocsServiceHelper#spec_body_builder
- ViewComponent::Slot#__vc_component_instance?
- ViewComponent::Slot#with_content
- ViewComponent::Slot#content?
- ViewComponent::ReservedSingularSlotNameError#initialize