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