3 ms·
I learned that in SwiftUI if you don’t want a view to re-render when one of its properties changes, but you need it to have that property/state because it needs
by dhsysusbsjsi 4y ago
I learned that in SwiftUI if you don’t want a view to re-render when one of its properties changes, but you need it to have that property/state because it needs passing to children, you can just make it a regular variable without the @PropertyWrapper.
Seems pretty obvious in hindsight!!
- marak830 4y agoIf I had a dollar for every time something seemed obvious in retrospect....