NavEx.LiveOnMount (NavEx v0.1.7)

View Source

NavEx.LiveOnMount is a module that provides functionality to hook the navigation history with on_mount callback in Phoenix LiveView applications.

Summary

Functions

Mounts the LiveView and assigns the user identity from the session.

Functions

on_mount(atom, params, session, socket)

Mounts the LiveView and assigns the user identity from the session.

on_mount: [{NavEx.LiveOnMount, :nav_ex_init}]