From 9fb56da120ec4ce018fedc48564702e3d8f99fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 9 Jun 2026 22:25:53 +0200 Subject: [PATCH] Docs --- packages/docs/docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.md index be19515..2c4141c 100644 --- a/packages/docs/docs/getting-started.md +++ b/packages/docs/docs/getting-started.md @@ -253,11 +253,11 @@ need a lifecycle that is narrower than the whole component instance. ## Useful Effect-FC Hooks -The most common Effect-FC hooks are: - Unlike plain React hooks, Effect-FC hooks return Effects. Use `yield*` to run them inside the component body. +The most common Effect-FC hooks are: + - `Component.useOnMount`: run an Effect once during the component's first render after mount, and return its value. The Effect must be synchronous.