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
- ViewComponent 4.x Bug: ERB::Util.html_escape not working in test environment
- 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
- Docs
- Dashboard::PollsComponent#initialize
- Dashboard::PollsComponent#polls
- PollPartialResultOptionFinder#existing_choices
- FoundationRailsHelper::FormBuilder#radio_button
- FoundationRailsHelper::FormBuilder#check_box
- FoundationRailsHelper::FormBuilder#label
- Dashboard::ResourcesComponent#active_resources
- Dashboard::ResourcesComponent#default_resources
- Dashboard::ResourcesComponent#initialize
- Dashboard::ResourcesComponent#new_actions_since_last_login