I have the same problem
Post
Replies
Boosts
Views
Activity
This approach does no longer work from Xcode 15, use #Preview(traits: .sizeThatFitsLayout) instead.
Source: https://www.appcoda.com/swiftui-preview-macro
I have the same issue on Version 14.0.1 (14A400)
Not solving it for me, the view's constructor is getting called but neither the onAppear() nor task() is getting called