DEV Community

Cover image for Debate: Is React Js bad for SEO ?

Posted on

Debate: Is React Js bad for SEO ?

Prime target of this debate is componentDidMount() and cons of render(). Putting it all together, does react js fail when website gets crawled by Google bots or just a scrapper ?

Thank 😊

Top comments (2)

ashleyhunter profile image
Ashley Hunter

Like any frontend framework, they require JavaScript to run. Search engines have limited or no capability to run JavaScript (depending on the search engine). That being said, all popular frameworks support server side rendering which can solve these SEO issues. Take a look at Next.js if your are looking to improve your React app SEO.

andrewbaisden profile image
Andrew Baisden

My portfolio is built using Next.js and its ranked on the first page right at the top. So I would say that its not at all bad so long as you also work on your SEO using meta tags etc...