1 unstable release
0.1.0 | Jun 6, 2019 |
---|
#839 in GUI
21 downloads per month
Used in 2 crates
235KB
4.5K
SLoC
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.
lib.rs
:
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 Component
s, 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.
Dependencies
~0.8–1.8MB
~39K SLoC