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