© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. NaraynJust React!https://doi.org/10.1007/978-1-4842-8294-6_5

5. Rethink React

Hari Narayn1  
(1)
Melbourne, VIC, Australia
 

In the previous chapter, we built a complete frontend project for a student enrolment form. This chapter is about “re-”: rethink, redesign, rebuild, and restructure React apps in React way. We will discuss mostly about rebuilding things in a better way. You will learn more advanced concepts of React in this chapter. We will check how these features can improve our existing solution.

The first thing we will do is learn about code splitting. You will learn about the Lazy function and the Suspense component. We will apply code splitting ...

Get Just React!: Learn React the React Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.