From c1a0c3ec1427d5ced8abb4c12069bae2815ab857 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Thu, 4 May 2017 15:22:12 -0400 Subject: [PATCH] got react working --- .gitignore | 1 - index.html | 2 ++ js/index.js | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 js/index.js diff --git a/.gitignore b/.gitignore index f06235c..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ node_modules -dist diff --git a/index.html b/index.html index 2a44080..c9f2af4 100644 --- a/index.html +++ b/index.html @@ -6,5 +6,7 @@

Stuff

+
+ diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..e7dcc9b --- /dev/null +++ b/js/index.js @@ -0,0 +1,7 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; + +ReactDOM.render( +

Matt is amazing

, + document.querySelector('main') +);