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
{{ message }}
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.
Occasionally the server/pre render completes before all the meta tags have been injected, sometimes it might write all the tags, others just half or none, so I'm guessing the async is not working properly.
I've tried adding a short delay to the Head component and waiting for the dom to show a change but still no luck - any ideas?
function timeout(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
await new BaseHead(data).createHead();
if (Build.isServer) {
await timeout(500);
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Occasionally the server/pre render completes before all the meta tags have been injected, sometimes it might write all the tags, others just half or none, so I'm guessing the async is not working properly.
I've tried adding a short delay to the Head component and waiting for the dom to show a change but still no luck - any ideas?
The text was updated successfully, but these errors were encountered: