Jonathan Kelley 7c3d308ab5 chore: make warnings go away преди 2 години
..
.rustfmt.toml 662f58c8bc wip: add diffing tests преди 2 години
README.md f614cbb401 wip: migrate all tests to core преди 2 години
attr_cleanup.rs 7c3d308ab5 chore: make warnings go away преди 2 години
boolattrs.rs 0cfbfc88e2 feat: more tests working преди 2 години
borrowedstate.rs 0cfbfc88e2 feat: more tests working преди 2 години
bubble_error.rs 7c3d308ab5 chore: make warnings go away преди 2 години
context_api.rs 7c3d308ab5 chore: make warnings go away преди 2 години
create_dom.rs 0cfbfc88e2 feat: more tests working преди 2 години
create_element.rs 565df11f7b chore: more tests passing преди 2 години
create_fragments.rs 5713e13ff2 feat: implement ID cycling преди 2 години
create_lists.rs 7c3d308ab5 chore: make warnings go away преди 2 години
create_passthru.rs 4dd9a616a5 wip: fragment diffing working преди 2 години
cycle.rs 7c3d308ab5 chore: make warnings go away преди 2 години
diff_component.rs 7c3d308ab5 chore: make warnings go away преди 2 години
diff_element.rs 7c3d308ab5 chore: make warnings go away преди 2 години
diff_keyed_list.rs 7c3d308ab5 chore: make warnings go away преди 2 години
diff_unkeyed_list.rs 7c3d308ab5 chore: make warnings go away преди 2 години
hotreloading.rs 7c3d308ab5 chore: make warnings go away преди 2 години
kitchen_sink.rs f614cbb401 wip: migrate all tests to core преди 2 години
lifecycle.rs 7c3d308ab5 chore: make warnings go away преди 2 години
miri_simple.rs 7c3d308ab5 chore: make warnings go away преди 2 години
miri_stress.rs 7c3d308ab5 chore: make warnings go away преди 2 години
safety.rs 7c3d308ab5 chore: make warnings go away преди 2 години
suspense.rs 7c3d308ab5 chore: make warnings go away преди 2 години
task.rs 7c3d308ab5 chore: make warnings go away преди 2 години

README.md

Testing of Dioxus core

NodeFactory

  • [] rsx, html, NodeFactory generate the same structures

Diffing

  • create elements
  • create text
  • create fragments
  • create empty fragments (placeholders)
  • diff elements
  • diff from element/text to fragment
  • diff from element/text to empty fragment
  • diff to element with children works too
  • replace with works forward
  • replace with works backward
  • un-keyed diffing
  • keyed diffing
  • keyed diffing out of order
  • keyed diffing with prefix/suffix
  • suspended nodes work

Lifecycle

  • [] Components mount properly
  • [] Components create new child components
  • [] Replaced components unmount old components and mount new
  • [] Post-render effects are called
  • []

Shared Context

  • [] Shared context propagates downwards
  • [] unwrapping shared context if it doesn't exist works too

Suspense

  • [] use_suspense generates suspended nodes

Hooks

  • [] Drop order is maintained
  • [] Shared hook state is okay
  • [] use_hook works
  • [] use_ref works
  • [] use_noderef works
  • [] use_provide_state
  • [] use_consume_state

VirtualDOM API

  • [] work
  • [] rebuild
  • [] change props