mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Update fake requirement from =2.4.1 to =2.5.0 Updates the requirements on [fake](https://github.com/cksac/fake-rs) to permit the latest version. - [Release notes](https://github.com/cksac/fake-rs/releases) - [Commits](https://github.com/cksac/fake-rs/commits) --- updated-dependencies: - dependency-name: fake dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Don't pin version Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
Keyed List Example
This example consists of a list which can be manipulated in various ways.
Running
Because this example is a performance demonstration you should use it with the --release flag:
trunk serve --release
Concepts
Demonstrates how using keyed elements improves the performance of comparing changes to lists.
Improvements
- Improve the name and address generation so that they don't look like gibberish
- Show the time it took to update the DOM on the page instead of just the console
- Improve the presentation of the example with CSS