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 segfault when Ruby coverage is enabled with Rails 8.1 ERB templates
- ApplicationController.render(component, layout: nil) ignores layout option in ActionCable broadcast context
- Add support for slot arguments
- Assets helpers raises an exception about missing assets in production.
- Segmentation fault with Ruby 3.4 + Rails 8.1 when coverage is enabled (negative lineno in class_eval)
- Slim not being loaded after upgrade for version 4.0.2
- Instrumentation: emit event with view file
- There should be a way to set protocol (e.g. https) when using with_request_url
- [v4] Troubleshooting issue with Slim
- Assets resolution fails when initializers are run in different order
- Docs