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
- 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
- Capybara's within helper method not working
- Add `config.include_application_routes` to allow skipping inclusion of application routes
- Failing test case using image_tag and tag slot
- 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=