Move the reconciler into the lifecycle crate, so that we can (properly) support state changes. Wrap the reconciliation phase in a RenderEngine, which root-level objects (windows, etc) can subscribe to and interface with. Migrate a few things relating to themes out of alchemy core and into styles, because the reconciliation phase requires them and they fit well enough there... solving a circular dependency.
This commit is contained in:
parent
f1cb5fea93
commit
6833e39d52
16 changed files with 57 additions and 1098 deletions
|
|
@ -15,17 +15,6 @@ pub use virtual_text::VirtualText;
|
|||
mod props;
|
||||
pub use props::Props;
|
||||
|
||||
mod style_keys;
|
||||
pub use self::style_keys::StyleKey;
|
||||
|
||||
mod spacedlist;
|
||||
pub use self::spacedlist::SpacedList;
|
||||
|
||||
mod spacedset;
|
||||
pub use self::spacedset::SpacedSet;
|
||||
|
||||
pub type StylesList = SpacedSet<StyleKey>;
|
||||
|
||||
use crate::traits::Component;
|
||||
|
||||
/// An enum representing the types of nodes that the
|
||||
|
|
|
|||
Reference in a new issue