React Components

Christopher Pitt

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-25
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 182
  • 裝訂: Paperback
  • ISBN: 1785889281
  • ISBN-13: 9781785889288
  • 相關分類: React
  • 下單後立即進貨 (約3~4週)

商品描述

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中創建各種不同組件來學習構建更好的網站

  • 通過組件的幫助,概念化設計並構建可維護的Web應用程序

  • 快節奏的指南,幫助您了解React中的基於組件的開發

書籍描述

讀者將學習如何使用React及其基於組件的架構來開發現代用戶界面。本書將建立一種新的整體思維方式,讓讀者發現React組件的威力,並提供許多實例。閱讀本書並按照示例應用程序的步驟,讀者將使用基於組件的UI架構在React中構建一個小到中型的應用程序。本書將帶領讀者進行一段旅程,發現基於組件的用戶界面相對於傳統的MVC架構的好處。在整本書中,讀者將開發各種組件,然後將它們結合在一起構建基於組件的UI。通過閱讀本書,讀者將學習到幾種構建強大組件的技巧,以及基於組件的開發相對於常規Web開發的好處。

你將學到什麼


  • 如何將應用程序結構化為組件

  • 使用嵌套組件

  • 設置組件之間的通信

  • 為現有組件添加樣式

  • 使用Material Design作為組件

  • 在服務器上渲染組件

  • 充分利用設計模式

  • 使應用程序可插拔

關於作者

Christopher Pitt 是新西蘭威靈頓SilverStripe的首席開發人員。他通常從事開源軟件開發,但有時也會構建編譯器和機器人。

目錄


  1. 組件思維

  2. 使用屬性和狀態

  3. 保存和通信數據

  4. 為組件添加樣式和動畫

  5. 使用Material Design

  6. 切換視圖

  7. 在服務器上渲染

  8. React設計模式

  9. 插件思維

  10. 測試組件