Jonathan Kelley 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
..
.rustfmt.toml 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
README.md da8159190b polish: tests and documentation 3 years ago
borrowedstate.rs d1560450ba wip: remove runner on hook and then update docs 3 years ago
create_dom.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
diffing.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
earlyabort.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
lifecycle.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
miri_stress.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
scheduler.rs 8b3ac0b57c perf: remove global allocation for props 3 years ago
sharedstate.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago
task.rs b56ea6c9a9 wip: work on scheduler, async, coroutines, and merge scope into context 3 years ago
test_logging.rs 601078f9cf fix: desktop and mobile 3 years ago
vdom_rebuild.rs 4ae11b5756 fmt: make tests easier to visually parse with fmt rules 3 years ago

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