diff --git a/resources/views/docs/mobile/4/digging-deeper/lifecycle-hooks.md b/resources/views/docs/mobile/4/digging-deeper/lifecycle-hooks.md index 82415a31..a7daa9bb 100644 --- a/resources/views/docs/mobile/4/digging-deeper/lifecycle-hooks.md +++ b/resources/views/docs/mobile/4/digging-deeper/lifecycle-hooks.md @@ -120,7 +120,7 @@ public function updatedQuery(string $value): void ## Instant screens with #[Lazy] When `mount()` does slow work (a network call, a heavy query), mark the component `#[Lazy]` to paint a -placeholder **immediately** while `mount()` runs in the background, so navigation feels instant: +placeholder **immediately** while `mount()` runs, so navigation feels instant: ```php use Native\Mobile\Attributes\Lazy; @@ -143,6 +143,29 @@ class Dashboard extends NativeComponent Override `placeholder()` to customize the loading frame; the default is a centered activity indicator wrapped in the screen's layout chrome. + + ## Observing the lifecycle from outside