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
- referencing slot component predicate methods
- ViewComponent Previews does not support `concat`
- Component generator: warn new users to restart Rails after they create their first component
- Default preview controller should not crash with `config.action_controller.include_all_helpers = false`
- Preparing for the next minor Ruby version
- Coexistence issues with `active_scaffold` gem
- Define slot methods in a module so they can be override and references with `super`
- Variants not working with XHR Turbo Stream responses
- Better handling of splatted keyword arguments and with_collection
- Abstract View Components
- 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=