Next.js App Router: not-found.tsx generateMetadata lost after hydration
When a page calls notFound(), the server-rendered HTML includes correct metadata from not-found.tsx, but after client hydration the metadata is replaced by the root layout's metadata because the Flight payload lacks the fallback's metadata. This causes incorrect document head and can harm SEO.
