Elixir Wizards cover image

Sophie DeBenedetto on the Future of Elixir and LiveView

Elixir Wizards

00:00

How to Use a Shared Live Session to Render Your Routes

A shared live session does a handful of things for you. You can define live view hooks that should be invoked at the same point in their lifecycle. One thing I was wondering is can we render a 404 directly from the on mount callback? And that's what I don't know if you can. That would be a neat solution, right? It wouldn't even have to dance around how to get the 404 page to show without changing the URL.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app