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.render_call?
- ViewComponent::CacheDigest.partition_render_calls
- ViewComponent::CacheDigest.compiled
- ViewComponent::CacheDigest.retaining_compiled_sources
- ViewComponent::CacheDigest.slot_renders_of
- ViewComponent::CacheDigest.template_renders_in
- ViewComponent::CompileCache.sidecar_files_for
- ViewComponent::CompileCache#sidecar_files_for
- ViewComponent::CompileCache.with_sidecar_files_cache
- ViewComponent::CompileCache#with_sidecar_files_cache