React Design Patterns and Best Practices
暫譯: React 設計模式與最佳實踐
Michele Bertoli
- 出版商: Packt Publishing
- 出版日期: 2017-01-13
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 318
- 裝訂: Paperback
- ISBN: 1786464535
- ISBN-13: 9781786464538
-
相關分類:
React、Design Pattern
-
相關翻譯:
React 設計模式與最佳實踐 (簡中版)
海外代購書籍(需單獨結帳)
相關主題
商品描述
Key Features
- Dive into the core patterns and components of React.js in order to master your application's design
- Improve their debugging skills using the DevTools
- This book is packed with easy-to-follow examples that can be used to create reusable code and extensible designs
Book Description
Taking a complete journey through the most valuable design patterns in React, this book demonstrates how to apply design patterns and best practices in real-life situations, whether that's for new or already existing projects. It will help you to make your applications more flexible, perform better, and easier to maintain – giving your workflow a huge boost when it comes to speed without reducing quality.
We'll begin by understanding the internals of React before gradually moving on to writing clean and maintainable code. We'll build components that are reusable across the application, structure applications, and create forms that actually work.
Then we'll style React components and optimize them to make applications faster and more responsive. Finally, we'll write tests effectively and you'll learn how to contribute to React and its ecosystem.
By the end of the book, you'll be saved from a lot of trial and error and developmental headaches, and you will be on the road to becoming a React expert.
What You Will Learn
- Write clean and maintainable code
- Create reusable components applying consolidated techniques
- Use React effectively in the browser and node
- Choose the right styling approach according to the needs of the applications
- Use server-side rendering to make applications load faster
- Build high-performing applications by optimizing components
About the Author
Michele Bertoli is a frontend engineer with a passion for beautiful UIs. Born in Italy, he moved to London with his family to look for new and exciting job opportunities. He has a degree in computer science and loves clean and well-tested code. Currently, he is working with React.js, crafting modern JavaScript applications. He is a big fan of open source and is always trying to learn something new.
Table of Contents
- Everything You Should Know About React
- Clean Up Your Code
- Create Truly Reusable Components
- Compose All the Things
- Proper Data Fetching
- Write Code for the Browser
- Make Your Components Look Beautiful
- Server-Side Rendering for Fun and Profit
- Improve the Performance of Your Applications
- About Testing and Debugging
- Anti-Patterns to Be Avoided
- Next Steps
商品描述(中文翻譯)
主要特點
- 深入了解 React.js 的核心模式和組件,以掌握應用程式的設計
- 使用 DevTools 改善除錯技能
- 本書包含易於遵循的範例,可用於創建可重用的代碼和可擴展的設計
書籍描述
本書全面探討 React 中最有價值的設計模式,展示如何在實際情況中應用設計模式和最佳實踐,無論是針對新項目還是已存在的項目。它將幫助您使應用程式更具靈活性、性能更佳,並且更易於維護,從而在速度上大幅提升您的工作流程,而不降低質量。
我們將從理解 React 的內部結構開始,然後逐步進入編寫乾淨且可維護的代碼。我們將構建可在整個應用程式中重用的組件,結構化應用程式,並創建實際可用的表單。
接著,我們將為 React 組件進行樣式設計並優化它們,以使應用程式更快且更具響應性。最後,我們將有效地編寫測試,您將學會如何為 React 及其生態系統做出貢獻。
在書籍結束時,您將避免許多試錯和開發上的頭痛,並將踏上成為 React 專家的道路。
您將學到什麼
- 編寫乾淨且可維護的代碼
- 應用整合技術創建真正可重用的組件
- 在瀏覽器和 Node 中有效使用 React
- 根據應用程式的需求選擇合適的樣式方法
- 使用伺服器端渲染使應用程式加載更快
- 通過優化組件構建高性能的應用程式
關於作者
Michele Bertoli 是一位前端工程師,熱愛美麗的用戶界面。他出生於意大利,與家人一起搬到倫敦尋找新的激動人心的工作機會。他擁有計算機科學學位,喜愛乾淨且經過良好測試的代碼。目前,他正在使用 React.js,打造現代 JavaScript 應用程式。他是開源的忠實粉絲,總是努力學習新知識。
目錄
- 您應該知道的所有關於 React 的事
- 清理您的代碼
- 創建真正可重用的組件
- 組合所有事物
- 正確的數據獲取
- 為瀏覽器編寫代碼
- 讓您的組件看起來美觀
- 伺服器端渲染的樂趣與利潤
- 改善您的應用程式性能
- 關於測試和除錯
- 應避免的反模式
- 下一步