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
- Rendering a collection with dynamically-chosen components
- Automating changelog maintenance
- Using asset_path in component previews
- Turbo-Streaming ViewComponents
- Feature/multiple templates arguments
- How to configure stimulus using the new rails 7 asset pipeline
- Support different formats
- Static types?
- Provide a method to specify template path
- Document how component and template interact
- 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=