Using the .task view modifier

The .onAppear view modifier allows you to execute costly initialization only when a view becomes visible. The .task view modifier allows breaking out asynchronous initialization.

SwiftUI can be a bit... eager

SwiftUI gives you a huge advantage in writing your own applications. But there are some things you should be aware of when it comes to NavigationLink!