LiveView hooks for entity module pages.
Provides common setup and subscriptions for all entity-related LiveViews.
Summary
Functions
Subscribes to entity events and tracks user presence when the LiveView is connected.
Functions
Subscribes to entity events and tracks user presence when the LiveView is connected.
Add this to your entity LiveView with:
on_mount PhoenixKit.Modules.Entities.Web.HooksThis automatically:
- Subscribes to entity creation, update, and deletion events
- Tracks authenticated user presence for dashboard statistics