From 1c175d742131b80e456ce506ea48e786104455bb Mon Sep 17 00:00:00 2001 From: Glen Ihrig Date: Wed, 20 Dec 2023 06:13:57 -0800 Subject: [PATCH] Clarify interchangeability between signals and closure wrapped functions (#27) --- src/view/02_dynamic_attributes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view/02_dynamic_attributes.md b/src/view/02_dynamic_attributes.md index 57769b4..b4e2afc 100644 --- a/src/view/02_dynamic_attributes.md +++ b/src/view/02_dynamic_attributes.md @@ -111,7 +111,8 @@ to our view: ```rust `move || count.get()` + // signals are functions, so `value=count` and `value=move || count.get()` + // are interchangeable. value=count /> ```