import SomeComponent from './higherOrderComponent'; import { lazy } from 'react'; function foo() { return // $ getACandidatePropsValue } const LazyLoadedComponent = lazy(() => import('./higherOrderComponent')); function bar() { return // $ getACandidatePropsValue } const LazyLoadedComponent2 = lazy(() => import('./exportedComponent').then(m => m.MyComponent)); function barz() { return // $ getACandidatePropsValue }