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
- LayoutsHelper#common_html_attributes
- LayoutsHelper#layout_menu_link_to
- FollowsHelper#unfollow_text
- FollowsHelper#follow_text
- DebatesHelper#debates_secondary_view
- DebatesHelper#debates_current_view
- DebatesHelper#debates_default_view?
- DebatesHelper#debates_minimal_view_path
- DebatesHelper#empty_recommended_debates_message_text
- DebatesHelper#has_featured?