DEV Community

loading...

Discussion on: What is React Helmet and Where To Use It

Collapse
oreste profile image
Oreste Abizera

Thanks for the great article. But there is a small issue on the second code block of Dynamic Helmet. Try using this code block below. It will fix it:

<Helmet
      title={title}
      htmlAttributes={{ lang: "en" }}
      meta={[
        {
          name: `description`,
          content: description,
        },
      ]}
    />
Enter fullscreen mode Exit fullscreen mode
Collapse
olenadrugalya profile image
Olena Drugalya Author

thank you very much! fixed that :)