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![CodeTriage badge for viewcomponent/view_component](/viewcomponent/view_component/badges/users.svg?count=7)
Help out
- Issues
- Make most configuration local to component instances
- Support opt-in Nokogiri HTML5 parsing
- Add Rubycritic Gem
- Remove respond_to? check
- Problem with translations for components, defined in a gem (engine) and used in Rails application
- Add failing spec for mocked component without template
- Better configuration scaffolding
- Can't modify frozen autoload_paths in development environment
- Fix setting custom preview_paths
- 3.15.0 makes ViewComponent incompatible with use in an ActionMailer::Base subclass with a #format method
- Docs
- Notification::ReopenSnoozedNotificationsJob#perform
- Enterprise::ConversationFinder#conversations_base_query
- ViewComponent::Compiler#gather_templates
- ViewComponent::Compiler#gather_template_errors
- ViewComponent::Template#compiled_source
- ViewComponent::Template#source
- ViewComponent::Template#defined_on_self?
- ViewComponent::Template#normalized_variant_name
- ViewComponent::Template#safe_method_name
- ViewComponent::Template#format