-
I was using some Nuxt composables within useSeoMeta({
title: () => useRoute().meta['title'] as string,
}) ... which worked fine with Starting with I'm currently stuck to unhead version |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @riddla, with v1.8 Unhead no longer uses a shared context, which was causing issues when parallel requests came in. To avoid this issue is quite simple and is a pattern you may use elsewhere for this issue. // collect the refs / reactive elements first
const route = useRoute()
useSeoMeta({
// then use within the functions
title: () => route.meta['title'] as string,
}) Let me know if you have any further questions on it. |
Beta Was this translation helpful? Give feedback.
Hi @riddla, with v1.8 Unhead no longer uses a shared context, which was causing issues when parallel requests came in.
To avoid this issue is quite simple and is a pattern you may use elsewhere for this issue.
Let me know if you have any further questions on it.