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::Slot#__vc_content_block=
- ViewComponent::Slot#__vc_component_instance=
- ViewComponent::Slot#respond_to_missing?
- ViewComponent::Slot#html_safe?
- ViewComponent::Slot#method_missing
- ViewComponent::Slot#to_s
- ViewComponent::Slot#initialize
- ViewComponent::Slot#__vc_content=
- ViewComponent::Slotable#set_polymorphic_slot
- ViewComponent::Slotable#set_slot