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
- Remove unused selenium-webdriver and tailwindcss-rails development dependencies
- Fix `news/new` cache digest errors for component renders
- 4.18+ cache digest precompute logs false news/new dependency for render Component.new
- Pass autoload paths to the template watcher as strings
- Recompile components compiled inside with_new_cache
- Support rendering components in non-main Ractors
- Rails 8.2: `herb:check` does not reach sidecar templates
- Add devtools
- Docs
- ViewComponent::Base.cache_digest
- ViewComponent::Base.__vc_template_formats
- ViewComponent::Base.__vc_cache_digest_source=
- ViewComponent::Base.__vc_cache_digest_source
- ViewComponent::Base#digest_path_from_template
- ViewComponent::Compiler#template_formats
- ViewComponent::Cacheable#__vc_cache_variant
- ViewComponent::Cacheable#__vc_cache_format
- ViewComponent::Cacheable#__vc_cache_on_values
- ViewComponent::Cacheable#__vc_evaluate_cache_condition