DEV Community

Cover image for React Developers - what do you use to make your app SEO friendly?
SwissGreg
SwissGreg

Posted on • Updated on

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

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?

Top comments (3)

Collapse
 
swissgreg profile image
SwissGreg

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/...

Collapse
 
devdrake0 profile image
Si

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

Collapse
 
swissgreg profile image
SwissGreg

Thank you for the clarification :)