What's the role of controllers in LiveView?

Can someone shine some light on the role of controller in liveview? I understand their use with deadview, but in liveview doc there is not much explanation: Phoenix.LiveView.Controller — Phoenix LiveView v0.20.14

As the documentatin clearly states, this module provides helper functions to be used in Phoenix controllers to render LiveViews.

Currently this module includes one function: live_render.

You can include that module into your controllers, and then call live_render from the templates, to embed LiveView inside “dead view” rendered through controller, to enhance your dead view with some LiveView features.

That’s Phoenix.Component.live_render/3. Phoenix.LiveView.Controller.live_render is the function to be called within a controller action to mount a LV. This is rarely used though.

oh thanks for correction!