Chapter 14 · Example 5 · Data fetching on the client and performance

Classic request waterfall

Co-locating fetches in nested components that each return loading until their data arrives chains the requests in sequence, making the whole app the slowest of all.

Loading live editor…