From 0bb10e9db9ee2e957be04b798e1fb3f215e1ec50 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 4 Nov 2022 06:09:56 +0800 Subject: [PATCH] Update app directory documentation (#1078) --- APP_DIRECTORY.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/APP_DIRECTORY.md b/APP_DIRECTORY.md index b414b977..0cb92366 100644 --- a/APP_DIRECTORY.md +++ b/APP_DIRECTORY.md @@ -1,5 +1,8 @@ # Next.js App Directory Support +> ⚠ Warning: Currently, the Head export does not re-render on client-side transitions, only on initial render. Read more [here](https://beta.nextjs.org/docs/api-reference/file-conventions/head#:~:text=Warning%3A%20Currently%2C%20the%20Head%20export%20does%20not%20re%2Drender%20on%20client%2Dside%20transitions%2C%20only%20on%20initial%20render. +) + With the introduction of the app directory there have been a lot of changes to how the `` is now handled internally by Next.js. As a result of this, how we use `NextSeo` in our apps will also change. @@ -445,4 +448,4 @@ Hopefully this gets you up and running with the new app directory. If you have any feedback be sure to let me know over [here](https://github.com/garmeeh/next-seo/discussions/1073) -The examples above can be found the example app in this repo [here](https://github.com/garmeeh/next-seo/e2eWithApp) +The examples above can be found the example app in this repo [here](https://github.com/garmeeh/next-seo/tree/master/e2eWithApp)