T
TanStack11mo ago
generous-apricot

Adding scripts inside the Head component

From what I can tell, it doesn't seem possible at the moment to add scripts as children of the Head component. I submitted the following issue a little while back when I tried to use Mantine with Start. I've also tried using the scripts option on the route, but that adds the script to the end of the root div. I'm wondering if there might be a workaround someone has found for this or if it's planned to support adding scripts to the head of a Start app. https://github.com/TanStack/router/issues/1917
GitHub
Hydration mismatch related to Mantine script being added to head an...
Describe the bug I installed Mantine in a new Router/Start app and noticed the script that's rendered by Mantine's ColorSchemeScript component is being injected into both the head and body ...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?