From d24e3e39526a88a00ca9e11f168d9c705a21d25a Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 25 Sep 2024 23:51:36 +0000 Subject: docs(gjs): add example reactive map --- docs/guide/ags/first-widgets.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/guide/ags/first-widgets.md') diff --git a/docs/guide/ags/first-widgets.md b/docs/guide/ags/first-widgets.md index 2c64732..c4c4436 100644 --- a/docs/guide/ags/first-widgets.md +++ b/docs/guide/ags/first-widgets.md @@ -359,7 +359,8 @@ You can disable this behavior by setting the `noImplicityDestroy` property. :::info The above example destroys and recreates every widget in the list everytime the value of the `Variable` changes. There might be cases where you would -want to handle child creation yourself, because you don't want to lose the +want to [handle child creation and deletion](/guide/ags/faq#avoiding-unnecessary-re-rendering) +yourself, because you don't want to lose the inner state of widgets that does not need to be recreated. ::: -- cgit v1.2.3