Skip to content

Commit 3de2e9b

Browse files
Update hooks.mdx
1 parent b7aef67 commit 3de2e9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/pages/docs/hooks.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
Hooks is an object passed to `reflect()`, or `variant()`, etc. with properties `mounted` and `unmounted` all optional.
55

6+
Both `mounted` and `unmounted` can be either function or Effector's Event. Reflect will call provided function with rendered props of the component.
7+
68
## Example
79

810
```tsx

0 commit comments

Comments
 (0)