Learning JavaScript Design Patterns: A JavaScript and React Developer’s Guide, 2nd Edition
- Length: 286 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2023-06-13
- ISBN-10: 1098139879
- ISBN-13: 9781098139872
- Sales Rank: #556640 (See Top 100 Books)
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. That includes popular design patterns such as 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 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 and React patterns such as Hooks, higher order components, and render props.
This book explores:
- Patterns to architect your components and apps
- More than 20 design patterns in JavaScript and React
- Different pattern categories, including creational, structural, and behavioral
- Performance patterns such as dynamic imports and code-splitting
- Rendering patterns such as server-side rendering, hydration, islands architecture, and more