#meta tags in next

1 messages · Page 1 of 1 (latest)

peak ridge
#

I created a sample project with the <Head>...</Head> from the file you sent me and it works just fine 👀

chrome hare
#

I dont know how ?

#

But i have this problme for last weeks

peak ridge
#

Hmm, any chance I could run the project myself?

#

Because right now I cant tell why its not working for u

chrome hare
#

even i am not able to figure out what is actual problme

chrome hare
chrome hare
#

actually this is official project

#

above file is _app.js

peak ridge
#

It doesn't look to me that there's anything there that would break meta tags for you

#

Actually

#

Can you remove PersistGate and see if that changes anything?

chrome hare
#

from another file i got this isues ```ReferenceError: window is not defined

peak ridge
#

Any chance you can comment out the part that is causing the error so we can see if meta tags work?

chrome hare
#

i am on it

queen bobcat
#

if your meta tags depends upon client side data fetching, they're not gonna work

peak ridge
chrome hare
queen bobcat
#

fetching data on the client(ex: in useEffect) is called client side fetching

chrome hare
#

useEffect ==> no no i am not using it i am using getInitialProps

#

trying with removing persist gates