Currently, the complete life cycle has not been fully implemented. It is an experimental function.
Open #[before_mount]
, #mounted
, #[before_update]
, #[updated]
#[before_mount]
Called immediately after the component instance is initialized. Use the #[before_mount]
annotation on a method or closure.
#[mounted]
Options called after instance initialization is complete
#[before_update]
Called after component properties are updated but before re-rendering the component
#[updated]
Called after the component properties have been updated and the component has been re-rendered.