Get started with react-helmet CDN

MIT licensed

React Helmet: Manage title, meta tags in React apps .

Tags:
  • react-helmet
  • nfl
  • react
  • document
  • head
  • title
  • meta
  • link
  • script
  • base
  • noscript
  • style

Stable version

Copied!

How to start using react-helmet CDN


import React from 'react';
import { Helmet } from 'https://cdn.cdnhub.io/react-helmet/6.1.0/Helmet.js';

const MyComponent = () => {
  return (
    <div>
      <Helmet>
        <title>Get started with react-helmet CDN - cdnhub.io</title>
        <meta name="description" content="This is my page description." />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="https://mywebsite.com/my-page" />
        <meta property="og:title" content="My Page Title" />
        <meta property="og:description" content="This is my page description." />
      </Helmet>
      <h1>Welcome to My Page</h1>
    </div>
  );
};

export default MyComponent;
Copied!
Copied!
Copied!
Copied!

All versions