Evan Almloff af1749d7be re export renderers in dioxus 1 éve
..
.rustfmt.toml 662f58c8bc wip: add diffing tests 2 éve
README.md 55f76fede6 work on fixing some core tests 1 éve
attr_cleanup.rs af1749d7be re export renderers in dioxus 1 éve
boolattrs.rs af1749d7be re export renderers in dioxus 1 éve
bubble_error.rs 404c864246 make the root component take no arguments 1 éve
context_api.rs af1749d7be re export renderers in dioxus 1 éve
create_dom.rs af1749d7be re export renderers in dioxus 1 éve
create_element.rs af1749d7be re export renderers in dioxus 1 éve
create_fragments.rs af1749d7be re export renderers in dioxus 1 éve
create_lists.rs af1749d7be re export renderers in dioxus 1 éve
create_passthru.rs af1749d7be re export renderers in dioxus 1 éve
cycle.rs af1749d7be re export renderers in dioxus 1 éve
diff_component.rs af1749d7be re export renderers in dioxus 1 éve
diff_element.rs af1749d7be re export renderers in dioxus 1 éve
diff_keyed_list.rs af1749d7be re export renderers in dioxus 1 éve
diff_unkeyed_list.rs af1749d7be re export renderers in dioxus 1 éve
error_boundary.rs b039d6acc0 fix remaining core tests 1 éve
event_propagation.rs b039d6acc0 fix remaining core tests 1 éve
fuzzing.rs 51441b44ca fix diffing fuzz test 1 éve
hotreloading.rs 7c3d308ab5 chore: make warnings go away 2 éve
kitchen_sink.rs af1749d7be re export renderers in dioxus 1 éve
lifecycle.rs af1749d7be re export renderers in dioxus 1 éve
miri_full_app.rs b039d6acc0 fix remaining core tests 1 éve
miri_simple.rs b039d6acc0 fix remaining core tests 1 éve
miri_stress.rs b039d6acc0 fix remaining core tests 1 éve
safety.rs fd0a53ab63 make all core tests compile 1 éve
suspense.rs b039d6acc0 fix remaining core tests 1 éve
task.rs b039d6acc0 fix remaining core tests 1 éve

README.md

Testing of Dioxus core

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_to_vec
  • [] change props