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
- Fix line numbers and empty output for ERB templates Rails doesn't annotate
- Resolve declared component dependencies that never opted in
- Report the errors swallowed while computing a cache digest
- Track components that haven't opted into cacheability
- Digest cache blocks written inside a component template
- Expire memoized template digests when a component registers
- Add devtools
- Docs
- ViewComponent::Slotable#get_slot
- ViewComponent::TestHelpers#__vc_test_helpers_preview_class
- ViewComponent::TestHelpers#__vc_test_helpers_build_controller
- ViewComponent::TestHelpers#__vc_test_helpers_request
- ViewComponent::TestHelpers#__vc_test_helpers_controller
- Performance::SlotsComponent#initialize
- Performance::SlotsComponent::ItemComponent#initialize
- Performance::SlotsComponent::ItemComponent#classes
- Performance::SlotsComponent::HeaderComponent#initialize
- Performance::SlotsComponent::HeaderComponent#classes