Use full React instead of react-lite

This is the direction we are going in Cockpit, as react-lite falls
behind with API development and debuggability.

Closes #43
This commit is contained in:
Martin Pitt 2018-08-29 00:03:26 +02:00 committed by Lars Karlitski
parent 9fa5c6ab05
commit 8a73531374
3 changed files with 4 additions and 7 deletions

View file

@ -18,8 +18,9 @@
*/
import React from 'react';
import ReactDOM from 'react-dom';
import { Application } from './app.jsx';
document.addEventListener("DOMContentLoaded", function () {
React.render(React.createElement(Application, {}), document.getElementById('app'));
ReactDOM.render(React.createElement(Application, {}), document.getElementById('app'));
});