pugson pfp
pugson
@pugson
next.js 13 app router no longer supports <Head> so you gotta jump through hoops to set metadata on pages with 'use client' ๐Ÿ˜ฉ
5 replies
0 recast
3 reactions

matt pfp
matt
@matthewmorek
You don't have to. You can use `generateMetadata` directly server side in Next.js 13.4 with App Router.
1 reply
0 recast
1 reaction

pugson pfp
pugson
@pugson
this doesnโ€™t work on โ€˜use clientโ€™ components
1 reply
0 recast
2 reactions

matt pfp
matt
@matthewmorek
I have totally misread your post then. Thought you're not able to set meta inside RSC files. Reading comprehension module needs an upgrade. ๐Ÿ™ƒ
2 replies
0 recast
1 reaction

matt pfp
matt
@matthewmorek
That said, why would you want to render whole pages on the client with metadata now that we have RSC, as opposed to just scoping out single tiny chunks for client-side components?
1 reply
0 recast
1 reaction

Michael Pfister pfp
Michael Pfister
@pfista
Oh I misread too
0 reply
0 recast
1 reaction