From 71436a191cdb5d63f94f763d7273ec05c36c512b Mon Sep 17 00:00:00 2001 From: Tan Li Hau Date: Sun, 24 Apr 2022 08:54:43 +0800 Subject: [PATCH] Update site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- .../02-reactivity/04-updating-arrays-and-objects/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md b/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md index 1f01162256..a298d1d1bb 100644 --- a/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md +++ b/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md @@ -2,7 +2,7 @@ title: Updating arrays and objects --- -Svelte's reactivity is triggered by assignments. Methods that mutate arrays/objects internally will not trigger updates by themselves. +Svelte's reactivity is triggered by assignments. Methods that mutate arrays or objects will not trigger updates by themselves. In this example, clicking the "Add a number" button calls the `addNumber` function, which appends a number to the array but doesn't trigger the recalculation of `sum`.