You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
External scripts are not getting loaded when adding it through scripts/HeadContent/Scripts component. <HeadContent /> and <Scripts /> components are rendered in the __root.tsx.
It only get loaded if the flag sync: true is added to the script. but doing it the script may not be ready when the page loads.
Which project does this relate to?
Router
Describe the bug
External scripts are not getting loaded when adding it through scripts/HeadContent/Scripts component.
<HeadContent />
and<Scripts />
components are rendered in the __root.tsx.It only get loaded if the flag
sync: true
is added to the script. but doing it the script may not be ready when the page loads.minimal example: https://stackblitz.com/edit/tanstack-router-frejwjfz
discussion on discord: https://discord.com/channels/719702312431386674/1007702008448426065/threads/1347295057870454804
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-frejwjfz
Steps to Reproduce the Bug or Issue
Expected behavior
external scripts get loaded with/without async flag
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: