mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
var _div;
|
|
import React from "react";
|
|
import OtherComponent from "./components/other-component";
|
|
export default function App() {
|
|
return _div || (_div = <div>
|
|
<LazyComponent />
|
|
<OtherComponent />
|
|
</div>);
|
|
}
|
|
const LazyComponent = React.lazy(() => import("./components/lazy-component"));
|