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
- Better handling of splatted keyword arguments and with_collection
- add Ruby head and YJIT to CI
- Abstract View Components
- Slot Predicates for slot content
- feat: Limit templates to defined file extension
- 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
- Docs
- Performance::NewInlineComponent#initialize
- Performance::NewInlineComponent::NestedComponent#initialize
- Rspec::Generators::ComponentGenerator#spec_component_path
- ViewComponent::Base#output_preamble
- ViewComponent::Base#safe_output_preamble
- ViewComponent::Base#compiler
- ViewComponent::Base#safe_output_postamble
- ViewComponent::Base#safe_render_template_for
- ViewComponent::Base#maybe_escape_html
- ViewComponent::Compiler#renders_template_for_variant?