Answer the question
In order to leave comments, you need to log in
Why doesn't everyone use React.lazy when developing apps?
Hey!
I'm reading the react doc, and I came across code splitting - when the project is compiled into several bundles, which are loaded as needed. That is, if a user on the site goes to the "Tech Support" section, then only the required bundle is loaded (in which the code for the tech support section), and not all at once when the page is loaded.
So, I looked at a lot of react projects on the git, this is not used anywhere.
Actually the question is why? Or maybe I misunderstood the essence of code separation?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question