Toot

Written by comex on 2024-12-02 at 15:12

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

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113583874001007837
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
217.408505 milliseconds
Gemini-to-HTML Time
0.336797 milliseconds

This content has been proxied by September (ba2dc).