UNPKG
activator-oce-exporter
Version:
latest (0.9.1)
0.9.1
0.9.0
Extract Activator binder and convert it to valid OCE mono pacakge
activator-oce-exporter
/
test
/
activator
/
shared
/
src
/
fusion
/
mixins
/
lazy-component.js
15 lines
(12 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{ delay }
from
'../utils'
;
/** * Performs lazy render */
export
function
LazyComponent
(
superClass
) {
return
class
extends
superClass {
async
performUpdate
(
) {
await
delay
();
super
.
performUpdate
(); } }; }