mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
.. | ||
.rustfmt.toml | ||
attr_cleanup.rs | ||
boolattrs.rs | ||
borrowedstate.rs | ||
bubble_error.rs | ||
context_api.rs | ||
create_dom.rs | ||
create_element.rs | ||
create_fragments.rs | ||
create_lists.rs | ||
create_passthru.rs | ||
cycle.rs | ||
diff_component.rs | ||
diff_element.rs | ||
diff_keyed_list.rs | ||
diff_unkeyed_list.rs | ||
hotreloading.rs | ||
kitchen_sink.rs | ||
lifecycle.rs | ||
miri_full_app.rs | ||
miri_simple.rs | ||
miri_stress.rs | ||
README.md | ||
safety.rs | ||
suspense.rs | ||
task.rs |
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
- [] change props