How can I add meta tags for sharing a particular link in React.js?
问题 Say, I have an online shop application built with React.js and I want to customize the look of the URL that is shared on social media (e.g. add a description and an image) using HTML meta tags. Besides, I want the route of particular product (e.g. https://www.mywebsite.com/product/<productId> ) to preview the appropriate picture and description of it, so it is not acceptable to just include the meta tags in the index.html . I have tried to use react-helmet and other packages that are used for