This is my code
LazyHStack(spacing: spacing) {
InnerView(data: self.data) // The for loop is contained inside the InnerView
}
LazyHStack(spacing: spacing) {
ForEach(data, id: \.self) { viewDataMap in
buildView(viewDataMap: viewDataMap)
}
}
Does the "Lazyness" work for both code segments?