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

Paperback Published on: 12/05/2023
Price: £52.99
Free UK delivery on orders over £25
In stock
Usually dispatched within 1-2 days
Make and edit your lists in your account
No stock available in any shop.
In stock
Usually dispatched within 1-2 days
No stock available in any shop.

Synopsis

Do you want to write beautiful, structured, and maintainable JavaScript by applying classical and 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 both classical and modern design patterns to JavaScript. That includes popular design patterns including Modules, Observers, Facades, and Mediators. You'll also learn how modern architectural patterns-such as MVC, MVP, and MVVM-are useful from the perspective of a modern web application developer. Other essential topics include modern JavaScript syntax, React patterns (like Hooks), module formats, classes, async/await, and more.

This book explores:

How to structure and write design patterns

Different pattern categories, including creational, structural, and behavioral

More than 20 classical and modern design patterns in JavaScript

"Pattern"-ity testing, proto-patterns, and the Rule of Three

Options for writing modular code-including the Module pattern, Asynchronous Module Definition (AMD), and CommonJS

Patterns to architect components and apps using React.js

Publisher information

  • Publisher: O'Reilly Media
  • ISBN: 9781098139872
  • Number of pages: 320
  • Dimensions: 232 x 178 mm
  • Languages: English

Customer Reviews