[Feature?]: Set Page Metadata by Exporting metadata
Variable
#1605
Labels
enhancement
New feature or request
metadata
Variable
#1605
Duplicates
Latest version
Summary 💡
I think it'd be great if solid implement the metadata handling that nextjs use, instead of we using solid-meta, it'd be much easier if we can just export
metadata
variable from a file and let that assigned as a metadata for that page.Seeing that SolidJS is compiling it's DOM using compiler, i think this is possible to create on client too, while on nextjs it's only available on server.
While i think that the dynamic metadata will only be supported on server, i think having static metadata on client will be a great improvement to solidjs developer experience.
Examples 🌈
https://nextjs.org/docs/app/building-your-application/optimizing/metadata
Motivation 🔦
{page name} | Site Name
.I believe that this isn't going to be priority for solidjs team, but i hope this will be considered by the team as a way to improve dx. Thanks!
The text was updated successfully, but these errors were encountered: