how to correctly use `useServerSeoMeta()` ? Meta data not updated when navigating between pages
I have a blog-app where each page is a blog post. So, on the index page for each blog post page, I am using
useServerSeoMeta
like so:
Accessing the blog post page directly into URL works well, and the relevant title, description, etc is displayed. However, when navigating to and from different pages of the app, the above data is "stuck" for each page and doesn't change unless I do a manual refresh for each page. I guess that is because I am not using useHead
? So, should I be using BOTH useServerSeoMeta
and useHead
on my pages together? If so, would I not be negating the performance benefit of using userServerSeoMeta
?0 Replies