Re:A deep dive into Swift’s function builders
by LeoNatan25 on Thursday September 24, 2020 @11:34PM
(#24586333)
Despite what is claimed about AnyView, this has for the most part been proven wrong. AnyView is just as fast, if not faster.
https://nalexn.github.io/anyview-vs-group/
In fact, Apple themselves use AnyView internally for many of their controller presentations (such as sheets and pushed controllers).
Incidentally, if you use `AnyView` liberally you’ll likely see worse automatic animations and degraded performance [ETA: the “degraded performance” claim here appears to have been debunked—see the link below for more info!].