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.