
What is lazy loading and write syntax

AnswerBot
1y

Lazy loading is a technique in Angular that loads modules or components on-demand, improving performance.
Lazy loading helps reduce initial load time by loading modules or components only when needed
It...read more
Vijaya Kalyani
2y

it help us to download the web pages in chunks instead of downloading everything in a big bundle
syntax:
const routes= Routes:[
{
path:'items',
loadChildren:() =import('./items/items.module')
}
]
Vinod Salunke
3y

lazy loading helps to avoid loading all modules and component when app initiated.
it will impprove perofrmance of the app.
syntax -
app.routing.module
const appRoues:Routes = [
{path:'',component...read more
Add answer anonymously...
Top ONPASSIVE Angular Developer interview questions & answers
Popular interview questions of Angular Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app