React Cookbook: Recipes for Mastering the React Framework

Griffiths, David, Griffiths, Dawn

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

商品描述

React helps you create and work on an app in just a few minutes. But learning how to put all the pieces together is hard. How do you validate a form? Or implement a complex multistep user action without writing messy code? How do you test your code? Make it reusable? Wire it to a backend? Keep it easy to understand? The React Cookbook delivers answers fast.

Many books teach you how to get started, understand the framework, or use a component library with React, but very few provide examples to help you solve particular problems. This easy-to-use cookbook includes the example code developers need to unravel the most common problems when using React, categorized by topic area and problem.

You'll learn how to:

  • Build a single-page application in React using a rich UI
  • Create progressive web applications that users can install and work with offline
  • Integrate with backend services such as REST and GraphQL
  • Automatically test for accessibility problems in your application
  • Secure applications with fingerprints and security tokens using WebAuthn
  • Deal with bugs and avoid common functional and performance problems

商品描述(中文翻譯)

React能夠幫助你在短短幾分鐘內創建和開發應用程式。但是,學習如何將所有組件組合在一起是困難的。如何驗證表單?或者在不寫亂七八糟的代碼的情況下實現複雜的多步驟用戶操作?如何測試代碼?使其可重用?如何將其與後端連接?如何保持易於理解?《React Cookbook》能夠快速提供答案。

許多書籍教你如何入門,理解框架,或者使用React的組件庫,但很少有提供示例來幫助你解決特定問題。這本易於使用的食譜書包含開發人員需要解決React時最常見問題的示例代碼,按主題和問題進行分類。

你將學習如何:
- 使用豐富的用戶界面在React中構建單頁應用程式
- 創建用戶可以離線安裝和使用的漸進式Web應用程式
- 與REST和GraphQL等後端服務集成
- 自動測試應用程式中的可訪問性問題
- 使用WebAuthn的指紋和安全令牌保護應用程式
- 處理錯誤並避免常見的功能和性能問題

作者簡介

David Griffiths has been writing code professionally in React for five years, and has created applications for startups, retail stores, vehicle manufacturers, national sports bodies and large software vendors. He has over 10 years experience in writing JavaScript.

Together, David and Dawn have written several books in the Head First Series, including Head First Android Development and Head First Kotlin, and delivered video courses for O'Reilly Media. They are the best people to write this book because they have an in-depth knowledge of the technology, and the experience to explain it concisely and clearly to the reader.

Dawn Griffiths has over 20 years experience working in the IT industry, working as a senior developer and senior software architect. She has written various books in the Head First series, including Head First Android Development (1e and 2e) and Head First Kotlin, and developed The Agile Sketchpad animated video series with David.

作者簡介(中文翻譯)

David Griffiths已經以React專業寫程式碼五年,並為初創公司、零售店、車輛製造商、國家體育機構和大型軟體供應商創建應用程式。他在撰寫JavaScript方面擁有超過10年的經驗。

David和Dawn一起撰寫了Head First系列的幾本書,包括Head First Android Development和Head First Kotlin,並為O'Reilly Media提供了視頻課程。他們是撰寫這本書的最佳人選,因為他們對技術有深入的了解,並且有能力將其簡潔明瞭地解釋給讀者。

Dawn Griffiths在IT行業工作超過20年,擔任高級開發人員和高級軟體架構師。她在Head First系列中撰寫了多本書,包括Head First Android Development(1e和2e)和Head First Kotlin,並與David一起開發了The Agile Sketchpad動畫視頻系列。