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
- GlobalizeHelper#display_destroy_locale_style
- GlobalizeHelper#display_translation?
- GlobalizeHelper#display_translation_style
- GlobalizeHelper#no_resource_languages_count
- GlobalizeHelper#active_languages_count
- GlobalizeHelper#select_language_error
- GlobalizeHelper#selected_languages_description
- GlobalizeHelper#translations_for_locale?
- GlobalizeHelper#first_marked_for_destruction_translation
- GlobalizeHelper#first_translation