8 ms·
I did a lot of tests on this and Google just didn't wait, no matter the configuration. I tested using webmaster tools. The App was built using React, and I ende
by devgutt 10y ago
I did a lot of tests on this and Google just didn't wait, no matter the configuration. I tested using webmaster tools. The App was built using React, and I ended up implementing SSR to fix the problem. There are a lot of posts that hack this embedding JSON directly on the page. I didn't find any post that figured out a way to make this works through async API requests. I would thank you if you point one in that direction. Maybe I'm doing something wrong.
- vlod 10y agoWere you using react-router by any chance? I've bookmarked this site: "Testing a React-driven website’s SEO using “Fetch as Google" https://medium.freecodecamp.com/using-fetch-as-google-for-seo-experiments-with-react-driven-websites-914e0fc3ab1#.ao08fvt9w https://medium.freecodecamp.com/using-fetch-as-google-for-se... That talks about this. Not had a chance to verify this. just a fyi.
- devgutt 10y agoInteresting, never occurred to me that react-router could be the problem, I will investigate that. But this other post [1] didn't use React at all and made API requests to GitHub with the same problem. [1] http://andrewhfarmer.com/react-seo/ http://andrewhfarmer.com/react-seo/