React Developers - what do you use to make your app SEO friendly?

github logo Updated on ・1 min read

SEO for JavaScript Single Page Applications is a hot discussed topic.

Even though Google claims to be able to properly index JavaScript SPAs, the other search engines barely do.

There seems to be 3 general approaches for solving it:

  • doing Server Side Rendering (SSR), on your own or with a dedicated framework
  • making your website/app static (if possible)
  • serving a pre-rendered version of your app to the crawlers, again: on your own or using a service for it

Which method do you use and advocate for? What problems do you see with the other solutions?

twitter logo DISCUSS (3)
markdown guide
 

Maybe to start off the discussion, at SwissDev Jobs we are using a pre-rendering service called Prerender.io to serve static HTML pages to the crawlers.

Pros:

  • easy to setup (as a middleware)
  • does not impact the overall setup

Cons:

  • paid service (free tier up to 200 pages)
  • (?)

Overall it seems to be a nice quick solution, unless we are missing something from the SEO perspective but even Google seems to be fine with this approach: developers.google.com/search/docs/...

 

Thanks for your submisson, but it does not meet the help tag requirements. Please review the sidebar for more information.

 

Thank you for the clarification :)

Classic DEV Post from Aug 30

SELECT Post FROM Stack Overflow Questions WHERE Topic = "git" ORDER BY Votes DESC;

SwissGreg profile image
Software Developer during day, Indie Hacker at night (SwissDevJobs.ch). Having fun using programming to create stuff πŸ”§