i have created module to list data and create detail page for that list now i have used serverPrefetch in detail page to get data to set meta information now its working fine but when someone open the detail page in new tab that application redirecting to error page due to we have used serverPrefetch. if i am commenting serverPrefetch code then its working fine in new tab also but out meta is not being set because serverPrefetch code is commened at same time. can anyone please help me. what should i do to troubleshoot this issue.
I’m not sure about this please check how the default meta information are set - they’re using the SSR preferched information as well.
Please note that severPrefetch is not executed when you navigate client side. So please make sure you’re setting the meta information in this case properly as well