Jonathan Kelley 75fa7b4aa6 fix: make tests pass %!s(int64=3) %!d(string=hai) anos
..
README.md da8159190b polish: tests and documentation %!s(int64=3) %!d(string=hai) anos
borrowedstate.rs d1560450ba wip: remove runner on hook and then update docs %!s(int64=3) %!d(string=hai) anos
create_dom.rs cda759c659 examples: upgrade to new version of dioxus core. %!s(int64=3) %!d(string=hai) anos
diffing.rs cda759c659 examples: upgrade to new version of dioxus core. %!s(int64=3) %!d(string=hai) anos
earlyabort.rs d1560450ba wip: remove runner on hook and then update docs %!s(int64=3) %!d(string=hai) anos
lifecycle.rs d1560450ba wip: remove runner on hook and then update docs %!s(int64=3) %!d(string=hai) anos
miri_stress.rs 75fa7b4aa6 fix: make tests pass %!s(int64=3) %!d(string=hai) anos
scheduler.rs 8b3ac0b57c perf: remove global allocation for props %!s(int64=3) %!d(string=hai) anos
sharedstate.rs 3dc0e59876 fix: readme and examples syntax %!s(int64=3) %!d(string=hai) anos
task.rs b56ea6c9a9 wip: work on scheduler, async, coroutines, and merge scope into context %!s(int64=3) %!d(string=hai) anos
test_logging.rs 601078f9cf fix: desktop and mobile %!s(int64=3) %!d(string=hai) anos
vdom_rebuild.rs 4c85bcfdc8 awesome: arbitrary expressions excepted without braces %!s(int64=3) %!d(string=hai) anos

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