Rails View Layers in 2025

I’m currently in the middle of re-tackling the view layer for Practical Computer. Now that there are 2 apps + a framework, the complexity is high enough to actually tackle the problem comprehensively

So, from my view of the Rails View Layer landscape, you have the following paths:

  • continue as-is, as we have for 15 years
  • get partway there with ViewComponent, having to make concessions & hacks. This is a glaring flaw; table-stakes: viewcomponent.org/known_iss…
  • go with Phlex all-in, acting as a clean-room replacement. Basically; nothing aside from Form Builders & explicit helper uses, no ERB files
  • roll something on your own, like Garett proposes in some of his musings: garrettdimon.com/journal/p…

Am I correct here? Am I missing something?

Thomas Cannon @tcannonfodder