react/fixtures/packaging/webpack-alias/dev/input.js

8 lines
178 B
JavaScript

var React = require('react');
var ReactDOM = require('react-dom');
ReactDOM.render(
React.createElement('h1', null, 'Hello World!'),
document.getElementById('container')
);