concept common layout in category svelte
appears as: common layout

This is an excerpt from Manning's book Svelte and Sapper in Action.
Sapper provides server-side rendering (SSR), which generates the HTML for visited pages on the server instead of in the browser. This can provide a better user experience, because the JavaScript for the page does not have to be downloaded before the page is rendered. It can also result in better search engine optimization (SEO). Sapper SSR does this automatically for the first page visited within a session.
Page layouts --Page layouts are Svelte components that provide a common layout to a set of pages. A scenario supported by page layouts is when multiple pages in an app have common sections, such as a header, footer, or left nav. We will explore implementing custom page layouts.