Table of contents
What's inside Web Performance Fundamentals
The complete table of contents: all 14 chapters and 350+ pages, every section listed in order. The investigations run on the study project on GitHub.
01Hello and Welcome!
- Who This Book Is For
- What the Book Is About
- Setting Up the Study Project
02Let's Talk About Performance
- Why Performance Matters
- How to Start Measuring: CrUX
- Next Step: Real User Monitoring
- Investigating Locally
03Intro to Initial Load Performance
- Introducing Initial Load Performance Metrics
- Overview of the Performance Tools
- Exploring Different Network Conditions
- Repeat Visit Performance
- What's Next?
04Client-Side Rendering and Flame Graphs
- Client-Side Rendering
- Reading the Flame Graph
- Reading the Flame Graph in DevTools
- Client-Side Rendering of a Real App in the Performance Panel
- What's Next?
05SPAs and Introducing INP
- SPA (Single-Page Applications)
- What SPA Transitions Look Like in the Performance Panel
- Measuring Interaction to Next Paint (INP)
- What's Next?
06Intro to Rendering on the Server (SSR)
- Why No-JavaScript Environments Are So Important
- Server Pre-rendering
- The Cost of Server Pre-rendering
- Pre-rendering the Entire Page on the Server (SSR)
- SSR can make LCP Worse
- SSR and Hydration
- Should I Implement SSR Like This?
- SSR and Frontend
- Static Site Generation (SSG)
- What's Next?
07Bundle Size and What to Do About It
- Initial Setup
- Bundle Size and Network
- Bundle Size and JavaScript Evaluation Time
- Bundle Size and SSR
- Reducing Bundle Size with Code Splitting
- Analyzing Bundle Size
- Tree Shaking and Dead Code Elimination
- ES Modules and Non-tree-shakable Libraries
- Common Sense and Repeating Libraries
- Transitive Dependencies
- What's Next?
08Intro to Lazy Loading and Suspense
- Lazy Loading and Code Splitting
- Intro to Suspense
- Applying Suspense in the Study Project
- What's Next
09Advanced Lazy Loading
- Initial Project Setup
- Manual Code Splitting per Route
- Lazy-loading per Route
- Loading Critical Elements First
- Preloading Lazy Chunks Manually
- Preloading Lazy Chunks With the Link Component
- Bundles, Loading, and Frameworks
- Lazy Loading + SSR
- What's Next?
10Data Fetching and React Server Components
- Setting Up the Project
- Data Fetching on the Client
- Data Fetching and SSR
- Streaming and React Server Components
- Final Measurements on the Real Page
- What's Next?
11Interaction Performance
- Chrome DevTools for Interactions
- The Long Tasks Problem
- Dealing with Long Tasks: Yield to Main
- React DevTools for Interactions
- What's Next
12Getting Rid of Unnecessary Re-renders
- Re-renders Basics
- Re-renders Situation in the Search Field
- Moving State Down
- Components as Children and Props
- Avoid Props Drilling
- Memoization
- What's Next?
13React Compiler
- What Is React Compiler
- What the Compiler Does
- The Performance Impact of the Compiler
- Not Everything Can Be Caught by the Compiler
- Is It Worth It?
14Final Words
Try before you buy
Read the first four chapters, on me.
Drop your email and I'll send them as a PDF and EPUB. Read them on your Kindle and see exactly how the book reads.
After the chapters, I'll only email when there's a new deep dive on the blog or a sale. Unsubscribe any time.
4.8 on Amazon · 350+ pages
Ready to find out what's actually slow?
Stop guessing at performance fixes. Get the 14 chapters that teach you to measure, investigate, and make React apps fast.
14-day money-back guarantee. Instant download, DRM-free.