I have a react app that is now becoming multi regional and needs the addition of the hrefLang HTML tag. The app renders using SSR and then CSR. My question is when should I add add the hrefLang tag. During SSR or CSR?
Asked
Active
Viewed 237 times
0
-
SSR would be better, because its coming pre-rendered. Also good for SEO reasons. – Badal Saibo Aug 08 '22 at 09:18
-
I opted to have them during SSR (initial render) and client side transitions @BadalSaibo – Kisho-Netizen Aug 09 '22 at 07:27