Search code examples
reactjsreact-helmet

Is react-helmet-async enough for SEO?


I am a fan of single page applications (spa) especially when it comes to react spa. So I was wondering if using react-helmet-async is sufficient enough to give the spa the basics of SEO or is it needed to migrate to nextjs?


Solution

  • I personally think that if you want good SEO, you should choose server-side rendering rather than using this component. It only lets you modify the content of certain tags. Search engines need more than header metadata.

    React helmet is very useful for optimizing social media previews. It can provide metadata with the information that social networks display when someone shares a link to your site.