Server Side rendering not working for me #14189
-
View source of https://cherishx.com. Only scripts tag are shown which includes chunks, pages and framework js. My divs, meta tags and other render html is not visible. Due to this fb is also not able to detect open graph tags. Pls help how to get a full rendered html code in view source for my page. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I am using getServerSideProps to fetch data from external APIs. |
Beta Was this translation helpful? Give feedback.
-
It is hard to point the exact issue without the source code. My guess is that the code is doing a conditional render, and this conditional render only renders anything after an |
Beta Was this translation helpful? Give feedback.
-
Issue is resolved. I was using redux persist gate gate in my app.js which was preventing server side rendering to happen. |
Beta Was this translation helpful? Give feedback.
Issue is resolved. I was using redux persist gate gate in my app.js which was preventing server side rendering to happen.