Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created April 28, 2018 18:44
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 gdyrrahitis/604aa01ff102371b08b3e430b8abd35f to your computer and use it in GitHub Desktop.
Save gdyrrahitis/604aa01ff102371b08b3e430b8abd35f to your computer and use it in GitHub Desktop.
import "../node_modules/bootstrap/dist/css/bootstrap.min.css";
import React from "react";
import ReactDom from "react-dom";
const message = "Hello world from React!";
ReactDom.render(
<div className="container">
<div className="jumbotron">
<h2>{message}</h2>
</div>
</div>,
document.querySelector("#app")
);
module.hot.accept();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment