Front End Programmer Question:

Download Job Interview Questions and Answers PDF

Explain what is the lazy loading?

Front End Developer Interview Question
Front End Developer Interview Question

Answer:

Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed.

Lazy loading is loading code only once user needs it. For Example, there is a button on the page, which shows different layout once user pressed it. So there is no need to load code for that layout on initial page load.

Download Front End Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what is the Difference between null and undefined?What is the difference between a host object and a native object?