Tristan F. 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
..
.rustfmt.toml 662f58c8bc wip: add diffing tests 2 سال پیش
README.md 55f76fede6 work on fixing some core tests 1 سال پیش
attr_cleanup.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
attributes_pass.rs 6ab6e56de9 Make clippy happy 1 سال پیش
boolattrs.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
bubble_error.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
children_drop_futures.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
context_api.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
create_dom.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
create_element.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
create_fragments.rs fa4e5dbf62 Fix rsx autocomplete and diagnostics in the root; provide better completions after attributes are finished (#2656) 11 ماه پیش
create_lists.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
create_passthru.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
cycle.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
diff_component.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
diff_element.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
diff_keyed_list.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
diff_unkeyed_list.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
error_boundary.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
event_propagation.rs 09e14f1936 Implement some clippy fixes 1 سال پیش
fuzzing.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
hotreload.rs 88af3e7eff Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258) 11 ماه پیش
hotreloading.rs 7c3d308ab5 chore: make warnings go away 2 سال پیش
kitchen_sink.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
lifecycle.rs 9167cd9dec fix most typos, add crate-ci/typos to CI (#2653) 11 ماه پیش
miri_full_app.rs 5ce91e1bfc Fix flakey windows tests (#2332) 1 سال پیش
miri_simple.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
miri_stress.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
safety.rs e65c5f0eb3 depreciate the render macro 1 سال پیش
suspense.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 1 سال پیش
task.rs 022e4ad203 Suspense boundaries/out of order streaming/anyhow like error handling (#2365) 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