fastify-dx
fastify-dx copied to clipboard
Support <head> tag generation from SSR
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the issue has not already been raised
Issue
Hello! I'm looking to check out fastify-dx but unsure with how to integrate with a UI library like mantine.dev. Any chance you could provide a little info on how to go about it? https://mantine.dev/theming/ssr/ has an example for generic integration with ssr.
Thanks in advance!
That's an interesting problem — that guide is targeted at frameworks that do <head>
management at the SSR level.
Fastify DX sends out the <head>
outside the SSR phase by default — but that can bet tweaked easily!
I'll work on an example.
@galvez awesome, thank you!