Created
March 25, 2018 17:08
-
-
Save alexnm/51580d184174de7070f54b6feb1155fa to your computer and use it in GitHub Desktop.
Using react-helmet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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