万本电子书0元读

万本电子书0元读

顶部广告

Beginning React电子书

售       价:¥

5人正在读 | 0人评论 6.2

作       者:Andrea Chiarelli

出  版  社:Packt Publishing

出版时间:2018-07-25

字       数:9.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Take your web applications to a whole new level with efficient, component-based UIs that deliver cutting-edge interactivity and performance. Key Features *Elaborately explains basics before introducing advanced topics *Explains creating and managing the state of components across applications *Implement over 15 practical activities and exercises across 11 topics to reinforce your learning Book Description Projects like Angular and React are rapidly changing how development teams build and deploy web applications to production. In this book, you’ll learn the basics you need to get up and running with React and tackle real-world projects and challenges. It includes helpful guidance on how to consider key user requirements within the development process, and also shows you how to work with advanced concepts such as state management, data-binding, routing, and the popular component markup that is JSX. As you complete the included examples, you’ll find yourself well-equipped to move onto a real-world personal or professional frontend project. What you will learn *Understand how React works within a wider application stack *Analyze how you can break down a standard interface into specific components *Successfully create your own increasingly complex React components with HTML or JSX *Correctly handle multiple user events and their impact on overall application state *Understand the component lifecycle to optimize the UX of your application *Configure routing to allow effortless, intuitive navigation through your components Who this book is for If you are a frontend developer who wants to create truly reactive user interfaces in JavaScript, then this is the book for you. For React, you’ll need a solid foundation in the essentials of the JavaScript language, including new OOP features that were introduced in ES2015. An understanding of HTML and CSS is assumed, and a basic knowledge of Node.js will be useful in the context of managing a development workflow, but is not essential.
目录展开

Title Page

Copyright and Credits

Beginning React

Packt Upsell

Why Subscribe?

PacktPub.com

Contributors

About the Author

About the Reviewer

Packt Is Searching for Authors like You

Preface

Who This Book Is For

What This Book Covers

To Get the Most out of This Book

Download the Example Code Files

Download the Color Images

Conventions Used

Get in Touch

Reviews

Introducing React and UI Design

What is React?

How to Set up a React-Based Application

Installing create-react-app

Creating Your First React Application

Activity: Creating an Application with create-react-app

Exploring the Generated Content

The create-react-app Commands

The npm start Command

Changing File Content and Viewing the Result

Activity: Starting and Changing the Application

The npm test Command

The npm run build Command

The npm run eject Command

How to Design a UI

Everything Is a Component

Decompose a User Interface

Container and Presentational Components

Activity: Detecting Components in a Web User Interface

Summary

Creating Components

Definition of a Component

Building Our First React Component

Managing Styles

Adding CSS

Activity: Defining a Shopping Cart

Using JSX

Activity: Translating HTML into JSX

Composing Components

Combining Components

Activity: Defining a Composed Cart

Data Propagation

Activity: Creating a Cart Item Component

Managing the Internal State

Activity: Adding State Management to the Cart Component

Summary

Managing User Interactivity

Managing User Interaction

HTML Events versus React Events

Event Handlers and the this Keyword

Changing the State

Activity: Adding Items to the Shopping Cart

Component Lifecycle Events

Activity: Showing the Quantity of Items Added to the Cart

Managing Routing

Installing React Router

Using the Router

Defining Views

Some Notes About the Route Component

Nested Views

Path Parameters

Activity: Adding a View About Shipping Methods

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部