Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: World of Books (previously glenthebookseller) Sold by: World of Books (previously glenthebookseller)
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Learning JavaScript Design Patterns: A JavaScript and React Developer's Guide
Purchase options and add-ons
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.
- ISBN-101098139879
- ISBN-13978-1098139872
- Edition2nd
- PublisherO'Reilly Media
- Publication dateJune 6, 2023
- LanguageEnglish
- Dimensions7 x 0.75 x 9 inches
- Print length296 pages
Frequently bought together

Customers who viewed this item also viewed
- JavaScript: The Definitive Guide: Master the World's Most-Used Programming LanguagePaperbackFREE Shipping by AmazonTemporarily out of stock.
- Design Patterns: Elements of Reusable Object-Oriented SoftwareHardcoverFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Sep 21
- Effective TypeScript: 83 Specific Ways to Improve Your TypeScriptPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Eloquent JavaScript, 4th EditionPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pagesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Sep 21
- Fluent React: Build Fast, Performant, and Intuitive Web ApplicationsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20Only 5 left in stock (more on the way).
Customers also bought or read
- Learning React: Modern Patterns for Developing React Apps
Paperback$27.03$27.03$3.99 delivery Sep 23 - 28 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$24.35$24.35Delivery Mon, Sep 21 - A Philosophy of Software Design, 2nd Edition#1 Best SellerSoftware Testing
Paperback$19.92$19.92Delivery Sun, Sep 20 - Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript
Paperback$36.99$36.99FREE delivery Mon, Sep 21 - Effective TypeScript: 83 Specific Ways to Improve Your TypeScript
Paperback$41.33$41.33FREE delivery Mon, Sep 21 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)
Hardcover$45.97$45.97FREE delivery Sun, Sep 20 - CSS: The Definitive Guide: Web Layout and Presentation
Paperback$59.30$59.30FREE delivery Mon, Sep 21 - Advanced React: Deep dives, investigations, performance patterns and techniques
Paperback$30.56$30.56Delivery Mon, Sep 21 - Programming TypeScript: Making Your JavaScript Applications Scale
Paperback$29.43$29.43Delivery Sun, Sep 20 - JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
Paperback$28.99$28.99Delivery Mon, Sep 21 - Fluent React: Build Fast, Performant, and Intuitive Web Applications
Paperback$40.27$40.27FREE delivery Sun, Sep 20 - Clean Code: A Handbook of Agile Software Craftsmanship
Paperback$22.88$22.88$5.99 delivery Sep 28 - 30 - High Performance Browser Networking: What every web developer should know about networking and web performance
Paperback$31.85$31.85Delivery Sep 30 - Oct 16 - Fundamentals of Software Architecture: A Modern Engineering Approach#1 Best SellerComputer Programming Logic
Paperback$52.40$52.40FREE delivery Sun, Sep 20 - JavaScript: The Comprehensive Guide to Learning Professional JavaScript Programming (Rheinwerk Computing)
Paperback$47.65$47.65FREE delivery Mon, Sep 21 - React Key Concepts: An in-depth guide to React's core features
Paperback$23.71$23.71Delivery Mon, Sep 21 - Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Paperback$42.66$42.66FREE delivery Sun, Sep 20 - Domain-Driven Design: Tackling Complexity in the Heart of Software
Hardcover$51.75$51.75FREE delivery Sun, Sep 20 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$77.72$77.72FREE delivery Mon, Sep 21 - Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series)
Paperback$30.29$30.29Delivery Sun, Sep 20 - Web API Cookbook: Level Up Your JavaScript Applications
Paperback$35.49$35.49FREE delivery Tue, Sep 22 - Building Micro-Frontends: Scaling Teams and Projects, Empowering Developers
Paperback$33.60$33.60$3.99 delivery Sep 28 - Oct 1 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sun, Sep 20
From the brand
-
Explore JavaScript resources
-
Explore TypeScript
-
Node.js
-
More from O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
The world of JavaScript has come a long way since I wrote the first edition of Learning JavaScript Design Patterns over 10 years ago. At that time, I was working on large-scale web applications and found that the lack of structure and organization in JavaScript code made it difficult to maintain and scale those applications.
Fast forward to today, and the web development landscape has changed dramatically. JavaScript has become one of the most popular programming languages in the world and is used for everything from simple scripts to complex web applications. The JavaScript language has evolved to include modules, promises, and async/await, which has heavily influenced how we architect applications. The way developers write components, such as with React, has also significantly impacted how they think about maintainability. This has resulted in the need for modern patterns that take these new changes into account.
With the rise of modern libraries and frameworks like React, Vue, and Angular, developers are now building applications that are more complex than ever before. I recognized the need for an updated version of Learning JavaScript Design Patterns to reflect the changes in JavaScript and web application development.
In this second edition of Learning JavaScript Design Patterns, I aim to help developers apply modern design patterns to their JavaScript code and React applications. The book covers more than 20 design patterns essential for building maintainable and scalable applications. The book is not just about design patterns but also about rendering and performance patterns, which are critical to the success of modern web applications.
The first edition of this book focused on classical design patterns, such as the Module pattern, the Observer pattern, and the Mediator pattern. These patterns are still important and relevant today, but the web development world has evolved significantly in the past decade, and new patterns have emerged. This new edition covers these new patterns, such as promises, async/await, and the newer variations of the Module pattern. We also cover architectural patterns such as MVC, MVP, and MVVM and discuss where modern frameworks fit with these architectural patterns.
Today’s developers are exposed to many library-specific or framework-specific design patterns. React’s matured ecosystem and utilization of newer JS primitives provide an excellent launchpad to talk about best practices and patterns in the framework or library context. In addition to classic design patterns, this book covers modern React patterns, such as Hooks, Higher-Order Components, and Render Props. These patterns are specific to React and essential for building modern web applications using this popular framework.
This book is not just about patterns; it’s also about best practices. We cover topics such as code organization, performance, and rendering, which are crucial for building high-quality web applications. You will learn about dynamic imports, code-splitting, server-side rendering, hydration, and Islands architecture, all of which are essential for building fast and responsive web applications.
By the end of this book, you will have a deep understanding of design patterns and how to apply them to your JavaScript code and React applications. You will also know which patterns are relevant to the modern web and which are not. This book is not just a reference for patterns; it’s also a guide to building high-quality web applications. You will learn how to structure your code for maximum maintainability and scalability and how to optimize your code for performance.
The Effective Software Engineer
|
Leading Effective Engineering Teams
|
Beyond Vibe Coding
|
Web Performance Engineering in the Age of AI
|
Building Web Apps with Bolt
|
Learning JavaScript Design Patterns
|
|
|---|---|---|---|---|---|---|
| O'Reilly books by Addy Osmani | How ICs at Every Level Can Leverage AI, Prioritize High-Value Work, and Lead Beyond Their Role | Lessons for Individual Contributors and Managers from 10 Years at Google | From Coder to AI-Era Developer | Mastering Speed and Quality for AI-Generated Applications | Unlock the Future of AI-First Development | A JavaScript and React Developer's Guide |
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : June 6, 2023
- Edition : 2nd
- Language : English
- Print length : 296 pages
- ISBN-10 : 1098139879
- ISBN-13 : 978-1098139872
- Item Weight : 2.31 pounds
- Dimensions : 7 x 0.75 x 9 inches
- Best Sellers Rank: #499,339 in Books (See Top 100 in Books)
- #78 in JavaScript Programming (Books)
- #101 in Mobile App Development & Programming
- #206 in Web Design (Books)
- Customer Reviews:
About the author

Addy Osmani is an engineering leader working on Google Chrome. He leads up Chrome's Developer Experience organization, helping reduce the friction for developers to build great user experiences. Addy has authored several books on building and optimizing web applications, based on his experience working with some of the world's largest sites.


















