React 17 Design Patterns and Best Practices - Third Edition: Design, build, and deploy production-ready web applications using industry-standard pract

Roldán, Carlos Santana

  • 出版商: Packt Publishing
  • 出版日期: 2021-05-17
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 394
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800560443
  • ISBN-13: 9781800560444
  • 相關分類: ReactDesign Pattern
  • 立即出貨 (庫存=1)



Build modular React web apps that are scalable, maintainable, and powerful using design patterns and insightful best practices

Key Features:

  • Get up to speed with design patterns in React such as render props and controlled and uncontrolled inputs
  • Become well-versed with React Hooks in this updated third edition
  • Work through examples that can be used to create reusable code and extensible designs

Book Description:

React is an open-source, adaptable JavaScript library for building complex user interfaces (UIs) from small, detached bits called components. This book will help you to use React effectively to make your applications more flexible, easier to maintain, and improve their performance, while giving your workflow a huge boost by improving speed without affecting quality.

You'll start by understanding the internals of React, before gradually moving on to writing maintainable and clean code. The chapters that follow will show you how to build components that are reusable across the application, structure applications, and create forms that actually work. Later, you will build on your knowledge by exploring how to style React components and optimize them to make applications faster and more responsive. Finally, you'll write tests effectively and learn how to contribute to React and its ecosystem.

By the end of this book, you'll be able to avoid the process of trial and error and developmental headaches, and instead, have the skills you need to efficiently build and deploy real-world React web applications.

What You Will Learn:

  • Get to grips with the techniques of styling and optimizing React components
  • Create components using the new React Hooks
  • Get to grips with the new React Suspense technique and using GraphQL in your projects
  • Use server-side rendering to make applications load faster
  • Write a comprehensive set of tests to create robust and maintainable code
  • Build high-performing applications by optimizing components

Who this book is for:

This book is for web developers who want to increase their understanding of React and apply it to real-life app development. Intermediate-level experience with React and JavaScript is assumed.


建構模組化的 React 網頁應用程式,使用設計模式和深入的最佳實踐,使其具有可擴展性、可維護性和強大性。

- 熟悉 React 中的設計模式,如 render props 和受控和非受控輸入
- 在這本更新的第三版中深入了解 React Hooks
- 通過示例學習創建可重用代碼和可擴展設計的方法

React 是一個開源的、適應性強的 JavaScript 函式庫,用於從小而獨立的組件構建複雜的用戶界面(UI)。本書將幫助您有效地使用 React,使應用程序更靈活、更易於維護,並提高其性能,同時通過提高速度而不影響質量,大大提升您的工作流程。

您將首先了解 React 的內部結構,然後逐漸轉向編寫易於維護和乾淨的代碼。接下來的章節將向您展示如何構建可在整個應用程序中重用的組件,結構化應用程序,並創建實際可用的表單。隨後,您將通過探索如何為 React 組件添加樣式並對其進行優化,使應用程序更快、更具響應性。最後,您將有效地編寫測試並學習如何貢獻於 React 及其生態系統。

通過閱讀本書,您將能夠避免試錯和開發中的困擾,而是擁有所需的技能,有效地構建和部署真實世界的 React 網頁應用程式。

- 掌握樣式化和優化 React 組件的技巧
- 使用新的 React Hooks 創建組件
- 掌握新的 React Suspense 技術,並在項目中使用 GraphQL
- 使用服務器端渲染加快應用程序的加載速度
- 編寫全面的測試以創建堅固且易於維護的代碼
- 通過優化組件構建高性能應用程序

本書適合對 React 和 JavaScript 有中級經驗的網頁開發人員,希望增加對 React 的理解並將其應用於實際應用程序開發中。