React v16.6.0 introduced React.lazy for code splitting.
Previous post, Loading React Components Dynamically on Demand showed how to load components dynamically enabling code splitting using
This is an updated post to show how to load components dynamically using
React.lazy, which wraps around
import() and retrieves a default component.