1 unstable release
| 0.1.0 | Jun 6, 2019 |
|---|
#36 in #ui-layout
Used in 2 crates
235KB
4.5K
SLoC
Lifecycle aspects for Alchemy.
What's a lifecycle? Well, it includes things like delegates (App+Window),
where they act as hooks for the system to inform you of events. It includes
things like Components, which instruct your views how to exist.
It also includes the RSX enum, which is what render() methods generally
return. It's common enough to multiple crates, and is intricately linked to the
Component lifecycle, so it'll live here.
This crate also includes the diffing and patching system for the widget tree -
it needs to live with the Component lifecycle to enable state updating.
Alchemy-Lifecycle
This crate holds traits used in Alchemy, such as AppDelegate, WindowDelegate, and Component. It also holds the RSX node/tag system, since it's standalone and Component ends up requiring it anyway.
Questions, Comments?
Open an issue, or hit me up on Twitter.
Dependencies
~0.8–1.7MB
~38K SLoC