File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Lets have a look at a consumer choosing to lazily load some components. The `imp
13
13
14
14
``` jsx
15
15
< LazilyLoad modules= {{
16
- TodoHandler : () => importLazy (System . import (' ./components/TodoHandler' )),
17
- TodoMenuHandler : () => importLazy (System . import (' ./components/TodoMenuHandler' )),
18
- TodoMenu : () => importLazy (System . import (' ./components/TodoMenu' )),
16
+ TodoHandler : () => importLazy (import (' ./components/TodoHandler' )),
17
+ TodoMenuHandler : () => importLazy (import (' ./components/TodoMenuHandler' )),
18
+ TodoMenu : () => importLazy (import (' ./components/TodoMenu' )),
19
19
}}>
20
20
{({TodoHandler, TodoMenuHandler, TodoMenu}) => (
21
21
< TodoHandler>
@@ -54,7 +54,7 @@ class Highlight extends React.Component {
54
54
}
55
55
}
56
56
export LazilyLoadFactory (Highlight , {
57
- highlight : () => System . import ('highlight '),
57
+ highlight : () => import ('highlight '),
58
58
});
59
59
```
60
60
You can’t perform that action at this time.
0 commit comments