LightningWeb.InitAssigns (Lightning v2.19.0-pre)

View Source

Refuses a mount whose session token no longer resolves, and applies common assigns to the LiveViews attaching this hook.

LightningWeb.Router's :confirmation_required live_session omits the hook on purpose: it is where the lockout redirect below lands, so attaching it there would loop.

Summary

Functions

on_mount(atom, params, session, socket)