From 3de2e9be73571103330df4cbc2411477479bd6d1 Mon Sep 17 00:00:00 2001 From: Alexander Khoroshikh <32790736+AlexandrHoroshih@users.noreply.github.com> Date: Mon, 8 Apr 2024 12:14:08 +0700 Subject: [PATCH] Update hooks.mdx --- docs/pages/docs/hooks.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/pages/docs/hooks.mdx b/docs/pages/docs/hooks.mdx index 0e79f56..5e26e66 100644 --- a/docs/pages/docs/hooks.mdx +++ b/docs/pages/docs/hooks.mdx @@ -3,6 +3,8 @@ Hooks is an object passed to `reflect()`, or `variant()`, etc. with properties `mounted` and `unmounted` all optional. +Both `mounted` and `unmounted` can be either function or Effector's Event. Reflect will call provided function with rendered props of the component. + ## Example ```tsx