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
- Only recompile components when a template changed, instead of before every request
- Only recompile components when a template changed, instead of before every request
- Fall back to global translations in Component.translate
- Only register the compile cache executor hook without template caching
- Automatically track source digests for all components
- Rails 8.2: `herb:check` does not reach sidecar templates
- Add devtools
- Docs
- ViewComponent::Base.__vc_build_collection_arguments
- ViewComponent::Base.__vc_initialize_signatures
- ViewComponent::Base.__vc_collection_parameter_accepted?
- ViewComponent::Base.__vc_collection_arguments
- User.create_from_census_response!
- User.random_password
- Tenant.dev_domains
- Llm::Config.llm_secrets
- Llm::Config.llm_model
- Llm::Config.llm_provider