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
- 4.21.0 logs `Couldn't find template for digesting: */*_fields` at boot for an interpolated render in an included helper module
- Share templates and parsed sources within a cache digest computation
- 4.20.0: NameError on boot (eager_load) when a component includes a module with a temporary name (set_temporary_name)
- Fix seven bugs from the main branch audit
- Rails 8.2: `herb:check` does not reach sidecar templates
- Docs
- ViewComponent::CacheDigest.memoize
- ViewComponent::CacheDigest.memo
- ViewComponent::CacheDigest.memoizing
- ViewComponent::CacheDigest::DigestorLookup#tree
- ViewComponent::CacheDigest::DigestorLookup#digest
- ViewComponent::Base#__vc_render_uncached
- ViewComponent::CacheDigest.template_dependencies?
- ViewComponent::Translatable.translate_with_defaults
- ViewComponent::Translatable.symbolic_defaults?
- ViewComponent::Slot#__vc_dup