A [[TransitionHookFn]] that performs lazy loading
When entering a state "abc" which has a lazyLoad function defined:
lazyLoad
.state('abc', { component: 'fooComponent', lazyLoad: () => import('./fooComponent') }); Copy
.state('abc', { component: 'fooComponent', lazyLoad: () => import('./fooComponent') });
See [[StateDeclaration.lazyLoad]]
A [[TransitionHookFn]] that performs lazy loading
When entering a state "abc" which has a
lazyLoad
function defined:lazyLoad
function (unless it is already in process)lazyLoad
function from the state declarationSee [[StateDeclaration.lazyLoad]]