UNPKG
reactors-cli
Version:
latest (4.0.4)
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.1
3.0.0
2.0.0
1.3.7
1.3.6
1.3.4
1.3.2
1.3.1
1.3.0
1.2.5
1.2.2
1.2.0
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
Command line utility for reactors
github.com/co2-git/reactors-git
co2-git/reactors-git
reactors-cli
/
templates
/
render-desktop.js
11 lines
(8 loc)
•
235 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/* globals document */
const
React
=
require
(
'react'
);
const
ReactDOM
=
require
(
'react-dom'
);
const
App
=
require
(
'./desktop/App.js'
);
ReactDOM
.
render
(
React
.
createElement
(
App
.
default
, {}),
document
.
getElementById
(
'reactors'
) );