When you change to a page with a different layout the current page component is created again. This does not seems to be intentional? Let's say the current page will fetch some data using the created
method, the problem is the the fetch will happen again when switching layout.
Example from custom layouts: