This site has been updated.
Reload to display the latest version?
(click here)

Tag:  React.lazy

Lazy load components in React

25 November, 2018
Lazy loading in React was always possible. It wasn’t so clear how to do it properly and how to handle all edge cases, as well as how to find all of them, because, like many things in life, we need first to encounter the problems, and only then can we be ready to handle them properly. Since React version 16.6 we have had and - helper function and helper component that have come to the rescue, and which promise to make it easier to deal with the lazy load. But first, let’s see what is the…