We’ve been running a variant of this patch in production at GitHub since March, and now have about a dozen components used in over a hundred call sites.
I love being on the same stack as GitHub now that they are caught up in versions and actively committing upstream. GitHub (e.g. Microsoft) being a Rails shop is huge for the space.
Regarding this feature, it's kind of like view helpers meets partials and much more performant?
Looks neat. I'm mildly worried about too many ways to do the same thing creep, but overall a plus.
I have the same concern about diluting the existing approach. On the other hand I've hand-rolled component-like behavior and conventions in partials enough times that maybe it makes sense to have such a feature built-in (and with a nice testing framework).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love being on the same stack as GitHub now that they are caught up in versions and actively committing upstream. GitHub (e.g. Microsoft) being a Rails shop is huge for the space.
Regarding this feature, it's kind of like view helpers meets partials and much more performant?
Looks neat. I'm mildly worried about too many ways to do the same thing creep, but overall a plus.
Repeating yourself? In Rails? No way lol DHH would never merge that
I have the same concern about diluting the existing approach. On the other hand I've hand-rolled component-like behavior and conventions in partials enough times that maybe it makes sense to have such a feature built-in (and with a nice testing framework).