1
0
Jonathan Kelley 7e54039ed2 fix make tests 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 жил өмнө
boolattrs.rs e65c5f0eb3 depreciate the render macro 1 жил өмнө
bubble_error.rs e65c5f0eb3 depreciate the render macro 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 09e14f1936 Implement some clippy fixes 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 4a7fe938ad Make clippy happy 1 жил өмнө
hotreloading.rs 7c3d308ab5 chore: make warnings go away 2 жил өмнө
kitchen_sink.rs e65c5f0eb3 depreciate the render macro 1 жил өмнө
lifecycle.rs 8f07d881a6 Switch todo!() to unreachable!/unimplemented! where it matters 1 жил өмнө
miri_full_app.rs ad01a45f3b restore core tests 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 ad01a45f3b restore core tests 1 жил өмнө
task.rs 7e54039ed2 fix make tests 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