Skip to content

Commit 3a0b3c9

Browse files
committed
upd
1 parent 4d484b4 commit 3a0b3c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/whackds.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,8 @@ whack::ds::use_effect!({
319319
// or when component is unmounted.
320320
}
321321
}, [variant]);
322-
```
322+
```
323+
324+
## Item key
325+
326+
When interpolating a list of nodes inside the `xn!` macro, make sure to specify the special `key` attribute with an unique ID for each item.

0 commit comments

Comments
 (0)