Getting Started with React

Doel Sengupta, Manu Singhal, Danillo Corvalan

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-29
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 212
  • 裝訂: Paperback
  • ISBN: 1783550570
  • ISBN-13: 9781783550579
  • 相關分類: React
  • 海外代購書籍(需單獨結帳)
    無現貨庫存(No stock available)


A light but powerful way to build dynamic real-time applications using ReactJS

About This Book

  • Learn how to develop powerful JavaScript applications using ReactJS
  • Integrate a React-based app with an external API (Facebook login) while using React components, with the Facebook developer app
  • Implement the Reactive paradigm to build stateless and asynchronous apps with React

Who This Book Is For

This book is for any front-end web or mobile-app developer who wants to learn ReactJS. Knowledge of basic JavaScript will give you a good head start with the book.

What You Will Learn

  • Understand the ReactJS basics through an overview
  • Install and create your first React component
  • Refactor the ReactJS component using JSX
  • Integrate your React application with the Facebook login and Graph API, then fetch data from your liked pages in Facebook and display them in a browser
  • Handle UI elements events with React, respond to users input, and create stateful components
  • Use some core lifecycle events for integration and find out about ES6 syntaxes in the React world
  • Understand the FLUX architecture and create an application using FLUX with React
  • Make a component more reusable with mixins and validation helpers and structure your components properly
  • Explore techniques to test your ReactJS code
  • Deploy your code using webpack and Gulp

In Detail

ReactJS, popularly known as the V (view) of the MVC architecture, was developed by the Facebook and Instagram developers. It follows a unidirectional data flow, virtual DOM, and DOM difference that are generously leveraged in order to increase the performance of the UI.

Getting Started with React will help you implement the Reactive paradigm to build stateless and asynchronous apps with React. We will begin with an overview of ReactJS and its evolution over the years, followed by building a simple React component. We will then build the same react component with JSX syntax to demystify its usage. You will see how to configure the Facebook Graph API, get your likes list, and render it using React.

Following this, we will break the UI into components and you'll learn how to establish communication between them and respond to users input/events in order to have the UI reflect their state. You'll also get to grips with the ES6 syntaxes.

Moving ahead, we will delve into the FLUX and its architecture, which is used to build client-side web applications and complements React's composable view components by utilizing a unidirectional data flow. Towards the end, you'll find out how to make your components reusable, and test and deploy them into a production environment. Finally, we'll briefly touch on other topics such as React on the server side, Redux and some advanced concepts.

Style and approach

The book follows a step-by-step, practical, tutorial approach with examples that explain the key concepts of ReactJS. Each topic is sequentially explained and contextually placed to give sufficient details of ReactJS.



- 學習如何使用ReactJS開發強大的JavaScript應用程式
- 整合React應用程式與外部API(Facebook登入),同時使用React元件和Facebook開發者應用程式
- 使用Reactive範式建立無狀態和非同步應用程式


- 通過概述了解ReactJS基礎知識
- 安裝並創建你的第一個React元件
- 使用JSX重構ReactJS元件
- 整合React應用程式與Facebook登入和Graph API,然後從Facebook中獲取喜歡的頁面數據並在瀏覽器中顯示
- 使用React處理UI元素事件,回應用戶輸入,並創建有狀態的元件
- 使用一些核心生命週期事件進行整合,並了解React世界中的ES6語法
- 了解FLUX架構,並使用React創建應用程式
- 使用mixin和驗證助手使元件更具重用性,並適當結構化你的元件
- 探索測試ReactJS代碼的技術
- 使用webpack和Gulp部署你的代碼


《React入門》將幫助你實現Reactive範式,使用React建立無狀態和非同步應用程式。我們將從ReactJS的概述和其多年來的演進開始,然後建立一個簡單的React元件。接著,我們將使用JSX語法重構相同的React元件,以解析其用法。你將學習如何配置Facebook Graph API,獲取你的喜歡列表,並使用React渲染它。