View Stack: How to organize

What is prefered way to organize view stack in Vaadin application?

For example, I have SideNav, each SideNavItem is root for view stack. When I active the concrete SideNavItem, one keeps stack of all opened views, for example the first view is item list, the second view is detail of item, the third view is something else.

So I have to keep for each SideNavItem such view stack and show current view with

What does Vaadin introduce for such purposes?
image.png