dynamic import component react example Example: dynamic import in reactjs const OtherComponent = React.lazy(() => import('./OtherComponent'));