Muhammad Hamza 2f47b09da4
Add custom type for attribute values (#1994)
* Add custom type for attribute values

* fix tests/example

* Remove `PartialEq<String>` and it's usage

* `ReferenceCounted` -> `Rc`

* fucking fake

* please CI, just turn green
2021-11-08 18:11:22 +01:00
..
2021-09-27 02:07:38 +02:00

Keyed List Example

Demo

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