Learning JavaScript Design Patterns: A JavaScript and React Developer’s Guide, 2nd Edition (Second Early Release)КНИГИ » ПРОГРАММИНГ
Название: Learning javascript Design Patterns: A javascript and React Developer’s Guide, 2nd Edition (Second Early Release) Автор: Addy Osmani Издательство: O’Reilly Media, Inc. Год: 2023-01-19 Страниц: 159 Язык: английский Формат: pdf, epub, mobi Размер: 10.2 MB
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.
Design patterns provide a common vocabulary to structure code, making it easier to understand. They help enhance the quality of this connection to other developers. Knowledge of design patterns helps us identify recurring themes in requirements and map them to definitive solutions. We can rely on the experience of others who have encountered a similar problem and devised an optimized method to address it. This knowledge is invaluable as it paves the way for writing or refactoring code to make it maintainable. Whether on the server or client, javascript is a cornerstone of modern web application development.
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