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 750d69ffe9..1f01162256 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 @@ -4,7 +4,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. -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` and does not update the rendered page. +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`. One way to fix that is to assign `numbers` to itself to tell the compiler it has changed: