Proposal: Refrain from using "DeadView", endorse an alternative

I think “view” part of LiveView is a little more hidden. I think Phoenix’s MVC initially (and probably still) threw a lot of people—at least who came from Rails—because it had an actual “proper” view layer that was different from templates instead of conflating the two. In LiveView, the view layer is less tangible and any custom view logic usually ends up in the form of private functions (be they formatters or components).

TL;DR, you’re absolutely right that LiveViews are not subsets of views. I often end up calling them controllers depending on the context of the discussion.

1 Like