Skip to content

Instantly share code, notes, and snippets.

@alexnm
Created March 25, 2018 17:08
Show Gist options
  • Save alexnm/51580d184174de7070f54b6feb1155fa to your computer and use it in GitHub Desktop.
Save alexnm/51580d184174de7070f54b6feb1155fa to your computer and use it in GitHub Desktop.
Using react-helmet
import React from "react";
import Helmet from "react-helmet";
const Contact = () => (
<div>
<h2>This is the contact page</h2>
<Helmet>
<title>Contact Page</title>
<meta name="description" content="This is a proof of concept for React SSR" />
</Helmet>
</div>
);
export default Contact;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment