From 26655b7531299e08cb1525490a0c6cc1118e4feb Mon Sep 17 00:00:00 2001 From: Prokopchuk-Valentin Date: Thu, 12 Sep 2024 16:09:26 +0500 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D1=8F=D0=B5=D1=82=20?= =?UTF-8?q?=D0=BD=D0=B5=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D1=80=20svelte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/website/docs/factories/index.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apps/website/docs/factories/index.md b/apps/website/docs/factories/index.md index 7b44177..b6767e9 100644 --- a/apps/website/docs/factories/index.md +++ b/apps/website/docs/factories/index.md @@ -147,23 +147,6 @@ const counter = useUnit($counter); ``` ::: -::: details Example usage in Svelte -```svelte - - -
-

Counter: {$counter}

- - -
-``` -::: - ::: warning You have to invoke factories only in the top-level of your application. It means that you **must not** invoke it during component rendering or in any other place that can be called multiple times. Otherwise, you will get a memory leak.