title: What is the difference between .onAppear() and .task() in SwiftUI 3?
body: <p>It seems we can now perform same task within .onAppear() or .task in iOS15. However could not find the advantage of .task() over .onAppear(). Anyone out there can explain?</p>