Harish Kulkarni
Harish Kulkarni

Reputation: 1581

How to know if React lazy load component is working or not? React js

enter image description hereI am using react lazy load component npm library, How can I know whether its working or not? I have used onContentVisible which is available in react lazy load component library docs. Even Without scrolling, In developer tools, Network tab says 84 requests are sent which is the maximum requests for my web page. How can I figure it out?

Upvotes: 4

Views: 5531

Answers (1)

VikR
VikR

Reputation: 5142

In Chrome dev tools, press command-shift-p (Mac) or control-shift-p (Windows) to open the command menu. Select Show Coverage and click the Reload button and reload your home page, and Chrome will show you what has loaded.

Upvotes: 8

Related Questions