root layout

The required top-level layout that wraps every route and must render the html and body tags.

In more detail

It is the place for global fonts, analytics scripts and metadata defaults. Route groups can give different parts of the app separate root layouts; navigating between them causes a full page load.

Related terms

Taught in

References