Fix wrong reference in site/content/docs/01-component-format.md

Co-authored-by: Geoff Rich <geoff.s.rich@gmail.com>
pull/6547/head
Stephane 5 years ago committed by GitHub
parent 55b081f776
commit ba8570643e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -117,7 +117,7 @@ Because Svelte's reactivity is based on assignments, using array methods like `.
// this method call does not trigger an update
arr.push(2);
// this assignment will trigger an update
// if the markup references `count`
// if the markup references `arr`
arr = arr
}
</script>

Loading…
Cancel
Save