Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created Apr 28, 2018
Embed
What would you like to do?
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