Evan Almloff 5ce91e1bfc Fix flakey windows tests (#2332) 1 年之前
..
.rustfmt.toml 662f58c8bc wip: add diffing tests 2 年之前
README.md 55f76fede6 work on fixing some core tests 1 年之前
attr_cleanup.rs e65c5f0eb3 depreciate the render macro 1 年之前
attributes_pass.rs 6ab6e56de9 Make clippy happy 1 年之前
boolattrs.rs e65c5f0eb3 depreciate the render macro 1 年之前
bubble_error.rs e65c5f0eb3 depreciate the render macro 1 年之前
children_drop_futures.rs 2e3a730ed5 fix clippy 1 年之前
context_api.rs ad01a45f3b restore core tests 1 年之前
create_dom.rs e65c5f0eb3 depreciate the render macro 1 年之前
create_element.rs e65c5f0eb3 depreciate the render macro 1 年之前
create_fragments.rs 4a7fe938ad Make clippy happy 1 年之前
create_lists.rs e65c5f0eb3 depreciate the render macro 1 年之前
create_passthru.rs e65c5f0eb3 depreciate the render macro 1 年之前
cycle.rs e65c5f0eb3 depreciate the render macro 1 年之前
diff_component.rs ad01a45f3b restore core tests 1 年之前
diff_element.rs 7461a14cb4 fix 2020: return None if the root nodes are empty in rsx (#2026) 1 年之前
diff_keyed_list.rs b53ba7b5c7 fix replacing fragments 1 年之前
diff_unkeyed_list.rs e65c5f0eb3 depreciate the render macro 1 年之前
error_boundary.rs e65c5f0eb3 depreciate the render macro 1 年之前
event_propagation.rs 09e14f1936 Implement some clippy fixes 1 年之前
fuzzing.rs e0b0afc0a9 remove unsafe from tests in core 1 年之前
hotreloading.rs 7c3d308ab5 chore: make warnings go away 2 年之前
kitchen_sink.rs ae352f8958 Feat: reject invalid keys 1 年之前
lifecycle.rs 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 1 年之前
miri_full_app.rs 5ce91e1bfc Fix flakey windows tests (#2332) 1 年之前
miri_simple.rs 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 1 年之前
miri_stress.rs 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 1 年之前
safety.rs e65c5f0eb3 depreciate the render macro 1 年之前
suspense.rs 3d7f419636 fix memos during suspense 1 年之前
task.rs 5ce91e1bfc Fix flakey windows tests (#2332) 1 年之前
tracing.rs 9ae3d14e67 Add tracing to virtual_dom (#1949) 1 年之前

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