Skip to content

Static snapshots

Latest
Compare
Choose a tag to compare
@barneycarroll barneycarroll released this 22 Mar 11:05
· 5 commits to master since this release

Because components are often not computed until virtual DOM patch-time (Mithril needs to diff the entire tree to know whether any given component has been destroyed or merely moved), history snapshots would often take partially computed views, meaning historical patches would re-execute components, potentially leading to recursive time loops as described in #16.

This release saves snapshots based on the fully computed virtual DOM tree exposed by config after patch resolution.