From 6c5152538f94297b4ea2d7e2edf4d8ab96864f3d Mon Sep 17 00:00:00 2001 From: fabb <153960+fabb@users.noreply.github.com> Date: Wed, 16 Jan 2019 10:57:37 +0100 Subject: [PATCH] added warning to readme about nesting of meta tags inside of (#6068) --- packages/next/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/next/README.md b/packages/next/README.md index 45dad86b..ee7fab1a 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -277,6 +277,8 @@ In this case only the second `` is rendered. _Note: The contents of `` get cleared upon unmounting the component, so make sure each page completely defines what it needs in ``, without making assumptions about what other pages added_ +_Note: `` and `<meta>` elements need to be contained as **direct** children of the `<Head>` element, or wrapped into maximum one level of `<React.Fragment>`, otherwise the metatags won't be correctly picked up on clientside navigation._ + ### Fetching data and component lifecycle <details>