Docs
Lint / lint (push) Successful in 15s

This commit is contained in:
Julien Valverdé
2026-06-09 11:16:33 +02:00
parent d3525aaad7
commit 91670779fe
+2 -1
View File
@@ -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