Skip to content

Instantly share code, notes, and snippets.

@brandoncc
Created June 4, 2019 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandoncc/0e4356acd97dce31377df4b614fe1f49 to your computer and use it in GitHub Desktop.
Save brandoncc/0e4356acd97dce31377df4b614fe1f49 to your computer and use it in GitHub Desktop.
import React from "react";
import ReactDOM from "react-dom";
import Article from "./Article";
import FlashMessage from "./FlashMessage";
import "./styles.css";
function App() {
return (
<div className="App">
<Article />
<FlashMessage />
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment