Skip to content

Commit

Permalink
Fix link to keyed lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Zhang committed Nov 4, 2022
1 parent ef7d8fc commit c10fcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/tutorial/index.mdx
Expand Up @@ -248,7 +248,7 @@ let videos = videos.iter().map(|video| html! {
```

:::tip
Keys on list items helps Yew keep track of which items have changed in the list, resulting in faster re-renders. [It is always recommended to use keys in lists](/concepts/html/lists#keyed-lists).
Keys on list items helps Yew keep track of which items have changed in the list, resulting in faster re-renders. [It is always recommended to use keys in lists](/concepts/html/lists.mdx#keyed-lists).
:::

And finally we need to replace the hardcoded list of videos with the `Html` we created from data:
Expand Down

0 comments on commit c10fcc8

Please sign in to comment.