Optimizing your code is an advanced topic and is needed to ensure we deliver a quality product that lowers resources footprint and loads our app faster. In this chapter, I will highlight some optimizing techniques you should be aware of before you write your first line of code. Topics covered include precaching, lazy loading, code splitting, tree shaking, prefetching, and sprite splitting, to name just a few.
Why Do We Need to Optimize?
As you’ve seen through this book, CRA is a popular way to create a React app. It is set up ...