Skip to content

HAMUR_E1020: A server-only page has child routes

A server-only page has child routes. Error HAMUR_E1020 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_E1020 meta.serverOnly in <shown>: a page with child routes renders them in its markup, which never hydrates; set it on the child pages

Cause

A page with child routes sets meta.serverOnly. It renders the children in its markup, which never hydrates.

Fix

Set meta.serverOnly on the child pages.