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