fix: switch to future based diffing

this commit removes the old manual fiber implementation in favor of a
traditional recursion based approach. This should make the diffing
algorithm easier to work on and eliminate various stack-based bugs in.
This commit is contained in:
Jonathan Kelley committed 2022-01-30 17:47:58 -05:00
1 parent 3edf3e367f
commit 3bb5c8142c
9 files changed
+1268 -322

No files matched your search

+4 -2
View File
@@ -1,7 +1,8 @@
#![allow(non_snake_case)]
#![doc = include_str!("../README.md")]
pub(crate) mod diff;
// pub(crate) mod diff;
pub(crate) mod diff_async;
pub(crate) mod events;
pub(crate) mod lazynodes;
pub(crate) mod mutations;
@@ -12,7 +13,8 @@ pub(crate) mod util;
pub(crate) mod virtual_dom;
pub(crate) mod innerlude {
pub(crate) use crate::diff::*;
pub(crate) use crate::diff_async::*;
// pub(crate) use crate::diff::*;
pub use crate::events::*;
pub use crate::lazynodes::*;
pub use crate::mutations::*;