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
2 reactions
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
0 reaction
pugson
@pugson
this doesnโt work on โuse clientโ components
1 reply
0 recast
1 reaction
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
0 reaction
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
0 reaction
Michael Pfister
@pfista
Oh I misread too
0 reply
0 recast
1 reaction