Components in Rails without gems
https://railsdesigner.com/vanilla-components/
Quite often I work with various clients that don’t, or want, or can’t use a third-party library like ViewComponent or similar. In this article I want to lay out the various techniques I use for apps I started myself and for others that need more than vanilla Rails partials without relying on gems.
Post a comment