Login required for access
In order to watch this lesson, you'll need to login to the website.
NavigationLazyView Bug Fix
SwiftUI Mastery Travel Discovery
In order to view this lesson, you must purchase this course.
In SwiftUI, you should be aware of a certain behavior with NavigationLinks. By default, your destination views will be loaded into memory whenever your application starts. In other words, our CategoryDetailsView is loaded immediately and hits the network without the user even tapping anything. This is quite aggressive and instead I want to present an on-demand approach to lazily load our views. StackOverflow post: https://stackoverflow.com/questions/57594159/swiftui-navigationlink-loads-destination-view-immediately-without-clicking

Comments (1)
MaxApp
3 years ago
MaxApp
3 years ago
Brian Voong
3 years ago
Brian Voong
3 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT