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

Michael Pfister pfp
Michael Pfister
@pfista
I thought you could still set metadata on server components by exporting the const, did they take that away or was it never a thing
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
you can. but iโ€™m talking about client components
1 reply
0 recast
0 reaction

Michael Pfister pfp
Michael Pfister
@pfista
Isnโ€™t the reason they did this to make setting variable metadata easier?
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
idk it seems weird to not let client components change metadata. not sure if this will be supported or is just a side effect for now: https://warpcast.com/pugson/0x5304b2
1 reply
0 recast
1 reaction