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
- TypeError: no implicit conversion of nil into String
- Rendering from controller causes double render related to turbo
- Components rendered in a subclass of AV::Base ignore the subclass
- Logging Render Times in Development Mode
- JavaScript config instructions are Webpack-specific and do not work with esbuild
- Use Zeitwerk for code loading
- Look up localized templates in the same way Rails does
- Annotations missing for inline components when annotate_rendered_view_with_filenames is enabled
- Rendering a collection with dynamically-chosen components
- Automating changelog maintenance
- Docs
- ViewComponent::Base.identifier=
- ViewComponent::Template#safe_method_name_call
- ViewComponent::Collection#rendered_spacer
- ViewComponent::Base#__vc_request
- ViewComponent::Template::DataNoSource#type
- ViewComponent::Template::DataNoSource#type=
- ViewComponent::Template::DataNoSource#identifier
- ViewComponent::Template::DataNoSource#identifier=
- ViewComponent::Template::DataNoSource#source
- ViewComponent::Template::DataNoSource#source=