This reusable React component will manage all of your changes to the document head. Helmet takes plain HTML tags and outputs plain HTML tags. It's dead simple, and React beginner friendly. Helmet 5 is fully backward-compatible with previous Helmet releases, so you can upgrade at any time without fear of breaking changes. We encourage you to update your code to our more semantic API, but please feel free to do so at your own pace. If you are using a prebuilt compilation of your app with webpack in the server be sure to include this in the webpack file so that the same instance of react-helmet is used. Supports all valid head tags: title, base, meta, link, script, noscript, and style tags. It also supports attributes for body, html and title tags. Duplicate head changes are preserved when specified in the same component (support for tags like "apple-touch-icon").
Features
- Supports all valid head tags: title, base, meta, link, script, noscript, and style tags
- Supports attributes for body, html and title tags
- Supports server-side rendering
- Nested components override duplicate head changes
- Duplicate head changes are preserved when specified in the same component (support for tags like "apple-touch-icon")
- Callback for tracking DOM changes