
This library is a framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Think of ViewComponents as an evolution of the presenter pattern, inspired by React. A ViewComponent is a Ruby object and template which is instantiated and passed to Rails’ #render returning markup.