add actionview-component#970
add actionview-component#970joelhawksley wants to merge 1 commit intomarkets:masterfrom joelhawksley:actionview-component
Conversation
|
Hi @joelhawksley and thanks a lot for contributing here 👍 Maybe I'm wrong, but I think View components were merged to Rails, or at least, I remember an open PR with quite similar feature. |
|
@markets that PR, rails/rails#36388, only had preliminary support (I'm the author if it 😄), enabling libraries such as ActionView::Component to hook into Rails.
|
|
Ah yes! I'm speaking about that pull request 👍 I'm a bit confused now 🤔... so Rails master has preliminary "support", but still not ready to use |
|
Rails master has the hooks necessary to use the |
|
ok, understood, I just made a quick look at the PR diff 👍 Nice project! would be amazing to merge this upstream 👌 |
|
Closing this PR as we are planning to rename the gem. |
Project
https://github.com/github/actionview-component
https://www.ruby-toolbox.com/projects/actionview-component
https://rubygems.org/gems/actionview-component/
What is this Ruby project?
ActionView::Component is a framework for building view components in Rails.
ActionView::Components are Ruby classes that are used to render views. They take data as input and return output-safe HTML. Think of them as an evolution of the presenter/decorator/view model pattern, inspired by React Components.
What are the main difference between this Ruby project and similar ones?
ActionView::Component is similar to other view component libraries, but is specifically designed for tight conceptual integration into Rails. It is an extraction from the GitHub monolith.
Please help us to maintain this collection by using reactions (:+1:, :-1:) and comments to express your feelings.