The approach to creating an SPA (single page application) with which I’m most familiar involves unchecking the “This element is visible on page load” setting for the various views/groups (i.e. making them all initially hidden) and then using conditionals to selectively unhide them (make them visible) when appropriate.
Additionally, potential layout issues can be avoided by vertically arranging the hidden groups representing the various “pages” of your app instead of overlapping them - i.e. “y-stack” instead of “z-stack” - as demonstrated here. (Click the button in the upper right to view the editor.)
EDIT: Just to clarify, by “conditionals” I mean the Conditionals tab of the properties editor.