UNPKG
ithread.js
Version:
latest (0.1.0)
0.1.0
Promise Thread Webworker Async
github.com/isunset/iThread.js
isunset/iThread.js
ithread.js
/
demo
/
pthread
/
src
/
App.test.js
10 lines
(8 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
App
from
'./App'
;
it
(
'renders without crashing'
,
() =>
{
const
div =
document
.
createElement
(
'div'
);
ReactDOM
.
render
(
<
App
/>
, div);
ReactDOM
.
unmountComponentAtNode
(div); });