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).