Using AnyView to store destination views in a routing system caused type information to be lost across navigation pushes, leading to state leaking between screens. Users eventually saw incorrect data on back navigation. The fix involved replacing AnyView with typed routes and explicit view builders to properly isolate state per screen.

1m watch time

Sort: