How To Add Dynamic Meta Tags in a React App
Introduction
When we deploy a React app using create react app or using a custom Webpack configuration. There is at least one issue that everyone faces for sure, that is SEO.
Client-side apps are NOT good for SEO. There are a few reasons for that, tw...
sachinverma.dev7 min read
Hello! I am currently working around this issue, i.e. trying to have different open graph meta tags per page dynamically in my React App. It is client-side rendered and we do have a server for our API calls. I think I understand the principle behind the solution, but I am having trouble understanding some things. This server which would dynamically serve every one if my pages' meta tags, should it be created alongside my already existing express server? And why whould I need to add all of the React code with my server, if it would not be SSR? I hope that I am explaining myself, if not, I can give further detail about my question and use case. Cheers!