Jonathan Kelley f2979cb12a feat: apply local router changes 3 年之前
..
.rustfmt.toml e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
README.md e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
borrowedstate.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
create_dom.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
diffing.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
earlyabort.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
fermi.rs d095d8c407 fix: clippy is happy 3 年之前
lifecycle.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
miri_stress.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
passthru.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
scheduler.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
sharedstate.rs f2979cb12a feat: apply local router changes 3 年之前
task.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
test_logging.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前
vdom_rebuild.rs e04a6d63a5 chore: move tests out of core and into the top level crate 3 年之前

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