Expand description
Widget lifecycle hooks for mount, update, and unmount callbacks.
This module provides a system for managing widget lifecycle events, similar to React’s useEffect or Vue’s lifecycle hooks.
Structs§
- Effect
- Effect hook that runs a callback and optionally cleans up.
- Effect
Manager - Manager for effects with automatic cleanup.
- HookId
- Unique ID for a lifecycle hook registration.
- Lifecycle
Event - Event passed to lifecycle callbacks.
- Lifecycle
Manager - Manager for widget lifecycle hooks.
Enums§
- Lifecycle
Phase - Lifecycle phase for widgets.
Type Aliases§
- Lifecycle
Callback - A lifecycle callback that can be registered.