Skip to content

Introducing Model

Compare
Choose a tag to compare
@schell schell released this 06 Jan 17:18
· 16 commits to master since this release
d472f0a

This minor version release introduces Models, which are bits of state that automatically transmit their updates to Receivers.

With Models you can build components that track their own state with less clutter in your Component implementation. Most view updates can be driven by one or more Models and the Component::ViewMsg can be used exclusively for communication with upstream components.

v0.4.x patch releases will include an example + cookbook article about Models.