DEV Community

Sushant Bajracharya
Sushant Bajracharya

Posted on

live_render from phoenix controller

Recently, I rendered a liveview from one of my controller and I had to pass some params to that liveview. You can pass the params if you put it in the session option but that didnt felt right to me.

So, I figured I ask the community and I got to know when not to use live_render in the controller instead and got a reply from the creator himself.

when you have an existing controller and dead views already in place and you want to add in a bit of live stuff

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay