2025-03-03 04:53:22 +09:00
..
2025-02-21 18:18:57 +09:00
2025-02-21 18:18:57 +09:00
2022-04-11 17:02:59 +05:00
2025-03-03 04:53:22 +09:00
2025-03-02 23:56:22 +09:00

Keyed List Example

Demo

This example consists of a list which can be manipulated in various ways.

Notes

If you would like to view this example as a performance demonstation, run this example in release mode.

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

Running

Run this application with the trunk development server:

RUSTFLAGS='--cfg getrandom_backend="wasm_js"' trunk serve --open