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
- Fix line numbers and empty output for ERB templates Rails doesn't annotate
- Resolve declared component dependencies that never opted in
- Report the errors swallowed while computing a cache digest
- Track components that haven't opted into cacheability
- Digest cache blocks written inside a component template
- Expire memoized template digests when a component registers
- Add devtools
- Docs
- ViewComponent::Generators::PreviewGenerator#create_preview_file
- ViewComponent::PreviewActions#previews_enabled?
- ViewComponent::Generators::LocaleGenerator#destination
- ViewComponent::Generators::LocaleGenerator#translation_keys
- ViewComponent::Generators::LocaleGenerator#translations_hash
- ViewComponent::Generators::LocaleGenerator#create_locale_file
- ViewComponent::Generators::RspecGenerator#spec_component_path
- ViewComponent::Generators::RspecGenerator#create_test_file
- ViewComponent::Generators::SlimGenerator#copy_view_file
- ViewComponent::Generators::SlimGenerator#engine_name