dioxus/packages/core/tests
2022-12-28 20:36:57 -06:00
..
.rustfmt.toml wip: add diffing tests 2022-11-22 20:16:14 -08:00
attr_cleanup.rs update core tests 2022-12-23 16:10:05 -06:00
boolattrs.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
borrowedstate.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
bubble_error.rs Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
context_api.rs feat: overhaul ssr 2022-12-06 17:41:47 -08:00
create_dom.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
create_element.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
create_fragments.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
create_lists.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
create_passthru.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
cycle.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
diff_component.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
diff_element.rs feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
diff_keyed_list.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
diff_unkeyed_list.rs Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
error_boundary.rs feat: none return works 2022-12-23 19:33:15 -05:00
hotreloading.rs chore: make warnings go away 2022-11-29 16:31:04 -05:00
kitchen_sink.rs Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
lifecycle.rs feat: context api overhaul 2022-12-02 16:24:49 -08:00
miri_full_app.rs feat: miri passing 2022-12-05 13:03:52 -08:00
miri_simple.rs fix: get miri passing 2022-12-16 20:26:04 -08:00
miri_stress.rs fix: spawn task 2022-12-13 16:04:41 -08:00
README.md wip: clean up some things 2022-11-30 23:54:30 -05:00
safety.rs feat: overhaul ssr 2022-12-06 17:41:47 -08:00
suspense.rs fix custom attribute value support 2022-12-09 16:18:37 -06:00
task.rs chore: make warnings go away 2022-11-29 16:31:04 -05:00

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