Learning JavaScript Design Patterns

Learning JavaScript Design Patterns Cover

A JavaScript and React Developer's Guide 2nd Edition

Buy on Amazon

Buy on Apple Books

Buy on Barnes & Noble

Buy on Walmart

"A clear and straightforward must-read book to understand how to use the latest features of JavaScript and React to develop modern and sustainable web applications."

"This is a must-read for frontend engineers!"

- Erik Alonso Ahumada Sarmiento

"Must read for all experience levels!"

Good code is like a love letter to the next developer who will maintain it.

We often romanticize the notion of programming, presenting it as an abstract form of art, a science, or even a form of magic. The truth, however, is much more practical and grounded. Code, in its essence, is communication. At the start of my book, Learning JavaScript Design Patterns, I say "good code is like a love letter to the next developer who will maintain it". It is an intimate correspondence, from one developer to another, spanning time and space. You can read my visual essay on good code.

Praise for the Book

"Addy's book is a pragmatic approach to fundamental concepts that are useful across myriad uses. JavaScript Design Patterns are intrinsic to developers applying systems thinking to their own work. Any developer reading this book will see incredible returns on the time investment reading it."

sarah

Sarah Drasner, Director of Engineering at Google leading Core Web Dev

"Addy Osmani strikes again, and he has delivered a much-appreciated update to his already classic book on design patterns in JavaScript."

stoyan

Stoyan Stefanov, WebPageTest.org engineer and author of JavaScript Patterns

"This week, I started reading Learning JavaScript Design Patterns by Addy Osmani. As a part of honing your craft, I advocate that engineers should know, study, and practice design patterns. Osmani starts Chapter 1 with a statement that resonated deeply with me: 'Good code is like a love letter to the next developer who will maintain it.'"

alex

Alex Dennis, Senior Software Engineer at Amazon

Learning JavaScript Design Patterns with Maxi

"Finding the right abstraction for the problem you're trying to solve often comes down to choosing the right design pattern. But with so many patterns to choose from, and implementations that vary widely depending on the programming language, this is easier said than done. That's why I was so excited to learn that Addy Osmani's classic book, Learning JavaScript Design Patterns, was getting a second edition. The new edition has been updated to use the latest features of the language and includes some of the new patterns that have emerged over the past decade."

About the Book

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:

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.

A compliment to Patterns.dev

"Learning JavaScript Design Patterns" provides a deep-dive into JavaScript design patterns through the lens of vanilla JS. It then ramps you up into how to think about design, rendering and performance patterns in React. It's a compliment to Patterns.dev (also from Addy and Lydia Hallie), which is a visual aid (animated videos, code snippets) to learn about this topic, which you can then go deeper into on the other site.

Photos from fans

photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book photo of learning javascript design patterns book

Table Of Contents