Feat: re-enable stack machine approach
This commit is contained in:
1 parent
1781ebba86
commit
e3ede7fcbf
15 files changed
+1124
-614
No files matched your search
@@ -65,13 +65,13 @@
|
||||
//! - dioxus-liveview (SSR + StringRenderer)
|
||||
//!
|
||||
|
||||
// pub mod changelist; // An "edit phase" described by transitions and edit operations
|
||||
pub mod changelist; // An "edit phase" described by transitions and edit operations
|
||||
pub mod component; // Logic for extending FC
|
||||
pub mod context; // Logic for providing hook + context functionality to user components
|
||||
pub mod debug_renderer; // Test harness for validating that lifecycles and diffs work appropriately
|
||||
pub mod diff;
|
||||
pub mod patch; // The diffing algorithm that builds the ChangeList
|
||||
// pub mod dodriodiff; // The diffing algorithm that builds the ChangeList
|
||||
// pub mod diff;
|
||||
// pub mod patch; // The diffing algorithm that builds the ChangeList
|
||||
pub mod dodriodiff; // The diffing algorithm that builds the ChangeList
|
||||
pub mod error; // Error type we expose to the renderers
|
||||
pub mod events; // Manages the synthetic event API
|
||||
pub mod hooks; // Built-in hooks
|
||||
@@ -99,7 +99,7 @@ pub(crate) mod innerlude {
|
||||
// pub use nodes::iterables::IterableNodes;
|
||||
/// This type alias is an internal way of abstracting over the static functions that represent components.
|
||||
|
||||
pub type FC<P> = for<'a> fn(Context<'a>, &'a P) -> VNode<'a>;
|
||||
pub type FC<P> = for<'a> fn(Context<'a>, &'a P) -> &'a VNode<'a>;
|
||||
// pub type FC<P> = for<'a> fn(Context<'a, P>) -> VNode<'a>;
|
||||
|
||||
// TODO @Jon, fix this
|
||||
@@ -139,7 +139,8 @@ pub mod prelude {
|
||||
pub use dioxus_core_macro::fc;
|
||||
pub use dioxus_html_2::html;
|
||||
|
||||
pub use crate::diff::DiffMachine;
|
||||
// pub use crate::diff::DiffMachine;
|
||||
pub use crate::dodriodiff::DiffMachine;
|
||||
|
||||
pub use crate::hooks::*;
|
||||
}
|
||||
Reference in new issue
Block a user