enum InvalidationLevel
Swift
enum InvalidationLevel
How much of the pipeline a change actually invalidates.
Levels are ordered and inclusive: body implies layout implies redraw.
The distinction earns its keep with animation — a colour fade must not
re-run every body and every Mirror-based state transplant sixty times a
second just to change a pixel value.
Sources/LavaUI/State.swift:221
Cases
case none
Nothing to do.
Sources/LavaUI/State.swift:223
case redraw
Re-emit the draw list. Layout and view values are unchanged.
Sources/LavaUI/State.swift:225
case layout
Re-run Yoga, then emit.
Sources/LavaUI/State.swift:227
case body
Recompute bodies, reconcile, lay out, emit.
Sources/LavaUI/State.swift:229
Operators
static func < (a: `Self`, b: `Self`) -> Bool
Orders levels by how much work they imply.
Sources/LavaUI/State.swift:232