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:
parent
73ce502b16
commit
5dd6801058
3 changed files with 4 additions and 7 deletions
|
|
@ -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'));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue