I wanted to have an empty array of "View" in SwiftUI and fill it later.
When I write it like this:
@State var pages: [View]
XCode yells at me with this:
Protocol 'View' can only be used as a generic constraint because it has Self or associated type requirements