0

How is virtual scrolling different from lazy loading in angular 7? Is there any difference between the two?

1
  • view this answer. hope it will be helpful for you. Commented Jan 15, 2020 at 6:54

1 Answer 1

1

Virtual Scroll to display the items without slowing the app down. Display only small subset of the data that is in the viewport and keep changing the records as the user scrolls. It keep the number of DOM elements constant hence boosting the performance of the application.

Lazy loading is the process of loading some features of your Angular application only when you navigate to their routes for the first time. This can be useful for increasing your app performance and decreasing the initial size of the bundle transmitted to the user's browser.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.