Skip to content

Commit d436351

Browse files
authored
docs: add console output instruction to tutorial (#8336)
1 parent c7bbe55 commit d436351

File tree

1 file changed

+1
-1
lines changed
  • site/content/tutorial/04-logic/05-keyed-each-blocks

1 file changed

+1
-1
lines changed

site/content/tutorial/04-logic/05-keyed-each-blocks/text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Keyed each blocks
44

55
By default, when you modify the value of an `each` block, it will add and remove items at the *end* of the block, and update any values that have changed. That might not be what you want.
66

7-
It's easier to show why than to explain. Click the 'Remove first thing' button a few times, and notice what happens: it does not remove the first `<Thing>` component, but rather the *last* DOM node. Then it updates the `name` value in the remaining DOM nodes, but not the emoji.
7+
It's easier to show why than to explain. Click to expand the `Console`, then click the 'Remove first thing' button a few times, and notice what happens: it does not remove the first `<Thing>` component, but rather the *last* DOM node. Then it updates the `name` value in the remaining DOM nodes, but not the emoji.
88

99
Instead, we'd like to remove only the first `<Thing>` component and its DOM node, and leave the others unaffected.
1010

0 commit comments

Comments
 (0)