We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511d1b2 commit da3e539Copy full SHA for da3e539
content/tutorial/01-svelte/02-reactivity/04-updating-arrays-and-objects/README.md
@@ -38,8 +38,9 @@ A simple rule of thumb: the name of the updated variable must appear on the left
38
39
```js
40
/// no-file
41
+const obj = { foo: { bar: 1 } };
42
const foo = obj.foo;
-foo.bar = 'baz';
43
+foo.bar = 2;
44
```
45
46
...won't trigger reactivity on `obj.foo.bar`, unless you follow it up with `obj = obj`.
0 commit comments