Learning JavaScript Design Patterns: A JavaScript and React Developer's Guide

By Addy Osmani

Do you want to write beautiful, structured, and maintainable JavaScript by applying modern design patterns to the language? Do you want clean, efficient, manageable code? Want to stay up-to-date with the latest best practices? If so, the updated second edition of Learning JavaScript Design Patterns is the ideal place to start.

Author Addy Osmani shows you how to apply modern design patterns to JavaScript and React--including modules, mixins, observers, and mediators. You'll learn about performance and rendering patterns such as server-side rendering and Islands architecture. You'll also learn how architectural patterns like MVC, MVP, and MVVM are useful from the perspective of a modern web application developer.

This book explores:

  • Architectural patterns for structuring your components and apps
  • More than 20 design patterns in JavaScript and React, applicable for developers at any level
  • Different pattern categories including creational, structural, and behavioral
  • Essential performance patterns including dynamic imports and code-splitting
  • Rendering patterns such as server-side rendering, hydration, Islands architecture, and more


Additionally, you'll explore modern JavaScript syntax like JavaScript modules, React patterns like Hooks, higher-order components (HOCs), and more, to stay ahead in the ever-evolving world of web development.

BUY THE BOOK

Published Jun 6, 2023

296 pages

Average rating: 10

1 RATING

|

Community Reviews

a1234adamjones
Jul 02, 2026
Addy Osmani’s books are absolute bibles for anyone trying to move past basic coding and actually build clean, maintainable systems. Learning how to properly structure your code completely changes how you approach complex front-end architecture, especially when scaling React apps. I remember struggling to bridge the gap between clean code and an intuitive user experience until I saw these principles applied in the real world. Checking out the product layouts developed by Fivecube really showed me how solid engineering and great design work together seamlessly. Definitely pick up this edition—it’s an essential read for mastering modern development!
dianam23
Apr 23, 2026
10/10 stars
Mastering design patterns is a crucial step for any developer aiming to build scalable and maintainable web applications. While this book provides a solid theoretical foundation, seeing these principles implemented in complex commercial projects by experts like https://luminarybrands.co.uk/blog/software-development-companies-london helps to better understand their practical value. Bridging the gap between clean code theory and professional execution is what ultimately leads to high-quality software that stands the test of time.

See why thousands of readers are using Bookclubs to stay connected.