Post

Replies

Boosts

Views

Activity

Reply to Load NavigationLink destination lazily
Lazy Loading is needed, especially when each view needs to pull data from the backend. Sure apple can have their "cheap" creation and keep what they feel is a perfect design, but in the real world many apps pull data from the backend and this is causing a lot on unnecessary server traffic. I know there is onAppear, but onAppear has all sorts of side effects, in my app it seems onAppear gets called twice for many forms, doubling the network traffic. It seems to me that the SwiftUI team are great at writing simple test apps, but when you try to write something more complicated, SwiftUI gets exponentially complicated. Defeats the entire purpose...
Jul ’20