Learning JavaScript Design Patterns: A JavaScript and React Developer's Guide, 2/e (Paperback)

Osmani, Addy

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

你想要透過將現代設計模式應用於語言中,寫出美觀、結構良好且易於維護的 JavaScript 嗎?你想要乾淨、高效且易於管理的程式碼嗎?想要掌握最新的最佳實踐嗎?如果是的話,更新的第二版《學習 JavaScript 設計模式》是你開始的理想地點。

作者 Addy Osmani 將向你展示如何將現代設計模式應用於 JavaScript 和 React。這包括了流行的設計模式,如模組、混入、觀察者和中介者。你將學習有關性能和渲染模式的知識,例如服務器端渲染和島嶼架構。你還將了解現代架構模式(如 MVC、MVP 和 MVVM)對於現代網頁應用程式開發人員的重要性。其他重要主題包括現代 JavaScript 語法和 React 模式,如 Hooks、高階元件和渲染屬性。

本書探討了以下內容:

- 架構組件和應用程式的模式
- 逾 20 種 JavaScript 和 React 的設計模式
- 不同的模式類別,包括創建、結構和行為
- 性能模式,如動態導入和代碼拆分
- 渲染模式,如服務器端渲染、水合和島嶼架構等