Leonard 95d8843d9d Fix clippy (#1532) пре 1 година
..
.rustfmt.toml 662f58c8bc wip: add diffing tests пре 2 година
README.md 3b166c9edd wip: clean up some things пре 2 година
attr_cleanup.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
boolattrs.rs 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds пре 2 година
borrowedstate.rs 8a1c96a68c fix custom attribute value support пре 2 година
bubble_error.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
context_api.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
create_dom.rs a61daf220d feat: context api overhaul пре 2 година
create_element.rs a61daf220d feat: context api overhaul пре 2 година
create_fragments.rs a61daf220d feat: context api overhaul пре 2 година
create_lists.rs a61daf220d feat: context api overhaul пре 2 година
create_passthru.rs c866ae602b Add system for creating component attributes + new `#[component]` attribute (#1448) пре 1 година
cycle.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
diff_component.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
diff_element.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
diff_keyed_list.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
diff_unkeyed_list.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
error_boundary.rs c4a18bc24d chore: clean up some clippy warnings and add clippy lints to CI пре 2 година
fuzzing.rs b8600d5144 fix tests пре 1 година
hotreloading.rs 7c3d308ab5 chore: make warnings go away пре 2 година
kitchen_sink.rs 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds пре 2 година
lifecycle.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
miri_full_app.rs c866ae602b Add system for creating component attributes + new `#[component]` attribute (#1448) пре 1 година
miri_simple.rs c866ae602b Add system for creating component attributes + new `#[component]` attribute (#1448) пре 1 година
miri_stress.rs 31f8bab20d Add ScopeId::ROOT (#1398) пре 1 година
safety.rs 68253b49d7 cargo fmt пре 1 година
suspense.rs 95d8843d9d Fix clippy (#1532) пре 1 година
task.rs 4240f8428c Fix: dont use bumpslab anymore, just box scopestates пре 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
  • [] change props