How do I make a dynamic navbar LiveView that is on every page?

Look into putting in the live.html.heex like they do in live beats. I recently tried every which way of doing it and settled in doing it in the same fashion. With on_mount hooks it is clean.

Your options are: a sticky live view, a non sticky live view, a live component or function component you include on every page, or in the template.

3 Likes