1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-10-02 19:16:44 +02:00
Files
BezierInfo-2/components/App.jsx
2016-01-09 23:31:52 -08:00

14 lines
364 B
JavaScript

var React = require("react");
var ReactDOM = require("react-dom");
var Article = require("./Article.jsx");
require("../stylesheets/style.less");
ReactDOM.render(<Article/>, document.getElementById("article"), function() {
// trigger a #hash navigation
if (window.location.hash) {
var hash = window.location.hash;
window.location.hash = hash;
}
});