Actualmente tengo las siguientes importaciones de componentes perezosos:
const LazyDashboard = React.lazy(() => import('./pages/app/Dashboard')); const LazyProfile = React.lazy(() => import('./pages/app/Profile'));Luego en las rutas,
{userToken && <><Route exact path="/app" element={<LazyDashboard/>}/> <Route exact path="/app" element={<LazyProfile/>}/></>}¿Hay alguna forma de hacer esto con React.lazy?