Getting Started with React


Getting Started with React
by Doel Sengupta and Manu Singhal
pages 页数: 212 pages
Publisher Finelybook 出版社: Packt Publishing (29 April 2016)
Language 语言: English
ISBN-10 书号: 1783550570
ISBN-13 书号: 9781783550579
B01DULYMN6
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.
Contents
Chapter 1. Getting Started with ReactJS
Chapter 2. Exploring JSX and the ReactJS Anatomy
Chapter 3. Working with Properties
Chapter 4. Stateful Components and Events
Chapter 5. Component Life cycle and Newer ECMAScript in React
Chapter 6. Reacting with Flux
Chapter 7. Making Your Component Reusable
Chapter 8. Testing React Components
Chapter 9. Preparing Your Code for Deployment
Chapter 10. What's Next
使用ReactJS构建动态实时应用程序的轻而强大的方法
关于这本书
了解如何使用ReactJS开发强大的JavaScript应用程序
使用React组件与Facebook开发人员应用程序集成基于React的应用程序与外部API(Facebook登录)
实施反应式范例,使用React构建无状态和异步应用程序
这本书是谁
本书适用于任何想要学习ReactJS的前端网络或移动应用开发人员。知识的基本JavaScript将给你一个很好的头开始与这本书。
你会学到什么
通过概述了解ReactJS基础知识
安装并创建您的第一个React组件
使用JSX重构ReactJS组件
将您的React应用程序与Facebook登录名和Graph API集成,然后从Facebook中的您喜欢的页面获取数据并将其显示在浏览器中
使用React处理UI元素事件,响应用户输入,并创建有状态的组件
使用一些核心生命周期事件进行集成,并在React世界中找到有关ES6语法
了解FLUX架构并使用React创建一个使用FLUX的应用程序
使用mixins和验证帮助器使组件更可重用,并正确构建组件
探索测试您的ReactJS代码的技术
使用webpack和Gulp部署代码
详细
受欢迎的MVC架构V(视图)的ReactJS由Facebook和Instagram开发人员开发。它遵循单向数据流,虚拟DOM和DOM差异,这些差异被大量利用,以提高UI的性能。
React入门将帮助您实施反应式范例,使用React构建无状态和异步应用程序。我们将首先介绍ReactJS及其多年来的发展历程,然后构建一个简单的React组件。然后,我们将使用JSX语法构建相同的反应组件来揭示其用法。您将看到如何配置Facebook Graph API,获取您的喜好列表,并使用React进行渲染。
接下来,我们将把UI分解成组件,您将学习如何建立它们之间的通信并响应用户的输入/事件,以使UI反映其状态。您还可以掌握ES6语法。
展望未来,我们将深入研究FLUX及其架构,用于构建客户端Web应用程序,并通过使用单向数据流来补充React的可组合视图组件。最后,您将了解如何使组件可重用,并将其测试和部署到生产环境中。最后,我们将简要介绍其他主题,如服务器端的React,Redux和一些高级概念。
风格和方法
本书以一步一步的实用教程方法为例,介绍了ReactJS的关键概念。每个主题按顺序解释和上下文放置,以提供ReactJS的足够细节。
目录
第1章ReactJS入门
第2章探索JSX和ReactJS解剖学
第3章使用属性
第四章有状态的组件和事件
第5章组件生命周期和更新的ECMAScript反应
第六章与助焊剂反应
第7章使您的组件可重用
第8章测试反应组件
第9章准备部署代码
第10章下一步

下载地址 Download
打赏
未经允许不得转载:finelybook » Getting Started with React

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏