diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.md index 192fc1a..d2856f3 100644 --- a/packages/docs/docs/getting-started.md +++ b/packages/docs/docs/getting-started.md @@ -206,7 +206,8 @@ export const MountedMessageView = Component.make("MountedMessage")( Use `Component.useOnMount` when the component needs a value produced by an Effect during its first render. The value is then cached for the component -instance. +instance. You can also use it to set up scoped component logic, subscriptions, +or resources that should live for the lifetime of that component instance. Use `Component.useOnChange` when render needs the value computed by scoped work that depends on changing inputs. When a dependency changes, React