You can still use the #Preview macro, but .previewLayout will be ignored. Use #Preview("Title", traits: .sizeThatFitsLayout) instead.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: