How to Use React.lazy
React 16.6.0 introduced
React.lazy, which allows you to code-split using the new Suspense API.
I’ve built a Github clone based off of Siddharth’s example. Hopefully this will help people who prefer reading to watching videos, or who to be walked through it step…