React Components
暫譯: React 元件

Christopher Pitt

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-25
  • 售價: $1,660
  • 貴賓價: 9.5$1,577
  • 語言: 英文
  • 頁數: 182
  • 裝訂: Paperback
  • ISBN: 1785889281
  • ISBN-13: 9781785889288
  • 相關分類: React
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Learn to build better websites by creating a variety of different components in React
  • Conceptualize the design and build maintainable web apps with the help of components
  • A fast-paced guide to help you learn about component-based development in React

Book Description

The reader will learn how to use React and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will establish throughout this book and the reader will discover the power of React components with many examples. After reading the book and following the example application, the reader has built a small to a mid-size application with React using a component based UI architecture. The book will take the reader through a journey to discover the benefits of component-based user interfaces over the classical MVC architecture. Throughout the book, the reader will develop a wide range of components and then bring them together to build a component-based UI. By the end of this book, readers would have learned several techniques to build powerful components and how the component-based development is beneficial over regular web development.

What you will learn

  • How to structure an app into components Working with nested components
  • Work with nested components
  • Set up communication across components
  • Style the existing components
  • Work with Material Design as a component
  • Render components on the server
  • Make the best of design patterns
  • Make the app pluggable

About the Author

Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.

Table of Contents

  1. Thinking in Components
  2. Working with Properties and State
  3. Saving and Communicating Data
  4. Styling and Animating Components
  5. Going Material!
  6. Changing Views
  7. Rendering on the Server
  8. React Design Patterns
  9. Thinking of Plugins
  10. Testing Components

商品描述(中文翻譯)

**主要特點**

- 學習透過在 React 中創建各種不同的組件來構建更好的網站
- 構思設計並利用組件構建可維護的網頁應用程式
- 一本快速入門的指南,幫助您了解 React 中的組件基礎開發

**書籍描述**

讀者將學習如何使用 React 及其基於組件的架構來開發現代用戶界面。本書將建立一種全新的整體思維方式來看待 UI 開發,讀者將透過許多範例發現 React 組件的強大功能。在閱讀本書並跟隨範例應用程式後,讀者將使用基於組件的 UI 架構,構建一個小型到中型的應用程式。本書將帶領讀者探索基於組件的用戶界面相較於傳統 MVC 架構的優勢。在整本書中,讀者將開發各種組件,然後將它們結合起來構建基於組件的 UI。在本書結束時,讀者將學會幾種構建強大組件的技術,以及基於組件的開發相較於常規網頁開發的好處。

**您將學到的內容**

- 如何將應用程式結構化為組件,處理嵌套組件
- 與嵌套組件一起工作
- 設置組件之間的通信
- 為現有組件設置樣式
- 使用 Material Design 作為組件
- 在伺服器上渲染組件
- 充分利用設計模式
- 使應用程式可插拔

**關於作者**

**Christopher Pitt** 是位於新西蘭威靈頓的 SilverStripe 首席開發人員。他通常從事開源軟體的工作,但有時您會發現他在構建編譯器和機器人。

**目錄**

1. 組件思維
2. 處理屬性和狀態
3. 儲存和傳遞數據
4. 組件的樣式和動畫
5. 使用 Material!
6. 變更視圖
7. 在伺服器上渲染
8. React 設計模式
9. 插件思考
10. 測試組件