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
- Slot Predicates for slot content
- Add strict helpers
- Create a Strict Helpers mode
- Migrate #content to be a slot
- uninitialized constant ViewComponent
- Migrate ViewComponent::Base.format to return a format instead of the variant
- feat: Access params ActionMailer::Preview style
- Components with only variant template crashes the app
- Add `output_preamble` to match existing `output_postamble`
- Allow to define the view_context without rendering the component
- Docs
- ViewComponent::Base.identifier=
- ViewComponent::Template#safe_method_name_call
- ViewComponent::Collection#rendered_spacer
- ViewComponent::Base#__vc_request
- ViewComponent::Template::DataNoSource#type
- ViewComponent::Template::DataNoSource#type=
- ViewComponent::Template::DataNoSource#identifier
- ViewComponent::Template::DataNoSource#identifier=
- ViewComponent::Template::DataNoSource#source
- ViewComponent::Template::DataNoSource#source=