![]()
You’d probably store the current_user in assigns in mount so that it’s accessible at socket.assigns.current_user in other callbacks like handle_event.
You can also create a helper like assign_mount in which you’d assign the user to the socket if you need it in more than one liveivew.






















