Also. I thought the whole point of SwiftUI's function-builder language magic was that it could partially re-evaluate view bodies.
So if you have a view with several controls depending on different inputs, and only one input changes, it would only re-evaluate the parts that depend on that input.
Or if you have a ForEach, it would only re-evaluate the iterations that changed.
But no. Any view will be evaluated entirely or not at all. Subview bodies can then be skipped if they compare equal.
=> More informations about this toot | View the thread | More toots from comex@mas.to
text/gemini
This content has been proxied by September (ba2dc).