mirror of
https://github.com/yewstack/yew.git
synced 2026-01-25 16:43:15 +00:00
* New example to showcase keyed elems reordering issue * Allow building examples in release mode * Fix ordering issue with keyed virtual nodes * review comments for build.sh * review comments for examples/keyed_list * fix style.css to keyed_list example * remove ahash * Add GitHub issue to TODO in key.rs * Address some review comments in virtual_dom * New diffing algorithm for keyed vlists * Add forgotten dependency for yew-stdweb * Add tests for vlist diffing * Removed VDiffNodePosition * Fix usage of next_sibling for vlist * Fix tests for stdweb * Mitigate issue with moving VLists when children are all VLists Note: The new UT is failing, I now. I want to discuss that before maybe fixing it (moving all VList children?). * Fix issue with inserting into vlist that is not last child * Refactor VDiff trait to make way for keyed list fixes * Fix quote_spanned macro invocations * Revert some minor changes (style, Debug) * Revert some minor changes (style, Debug) * Fix self-referencing NodeRef issue * All VList tests pass * Fix algorithm choice in degenerated case * Remove stdweb and non keyed tests * Key from finite list of types * WIP moving VList tests to diff_layouts * Removed unnecessary Vec * Fix VComp NodeRef self linking issue * Add logs to diff_layouts tests * WIP moving VList tests to diff_layouts * WIP Failing test moving VComp * Add VComp move_before * Fix list component change method * Fix bad merge * Add more protection against node ref cycles * Remove commented tests * Feedback and clippy * Failing test * tests pass Co-authored-by: Justin Starry <justin.starry@icloud.com>
8 lines
74 B
CSS
8 lines
74 B
CSS
.component-person {
|
|
color: blue;
|
|
}
|
|
|
|
.basic-person {
|
|
color: red;
|
|
}
|