
React 16 Essentials
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Persons
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.Fedosejev Artemij :
Artemij Fedosejev is a technical lead living in London, United Kingdom. He is a self-taught web developer who has been a web developer since the early 2000s. Artemij earned his BSc in computer science from University College Cork, Ireland. He participated in the IGNITE Graduate Business Innovation Programme, where he built and launched a website that received the Most Innovative Project award. Artemij has played a key role in creating frontend architecture using React.js and Flux for various websites. Artemij created a number of open source projects, including Snapkite Engine, Snapkite Stream Client, and other projects.Boduch Adam :
Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.
Content
- Cover
- Copyright
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: What's New in React 16
- Rethinking rendering
- The status quo
- Running to completion
- What are fibers?
- Async and the road ahead
- Better component error handling
- Rendering multiple elements and strings
- Rendering to portals
- Summary
- Chapter 2: Installing Powerful Tools for Your Project
- Approaching our project
- Installing Node.js and npm
- Installing Git
- Getting data from the Twitter Streaming API
- Filtering data with Snapkite Engine
- Creating the project structure
- Creating package.json
- Reusing Node.js modules
- Building with Webpack
- Creating a web page
- Summary
- Chapter 3: Creating Your First React Element
- Understanding the virtual DOM
- Installing React
- Creating React elements with JavaScript
- The type parameter
- The props parameter
- The children parameter
- Rendering React elements
- Creating React elements with JSX
- Summary
- Chapter 4: Creating Your First React Component
- Stateless versus stateful
- Creating your first stateless React component
- Creating your first stateful React component
- Summary
- Chapter 5: Make Your React Components Reactive
- Solving a problem using React
- Planning your React application
- Creating a container React component
- Summary
- Chapter 6: Using Your React Components with Another Library
- Using another library in your React component
- Understanding React component's lifecycle methods
- Mounting methods
- The componentWillMount method
- The componentDidMount method
- Unmounting methods
- The componentWillUnmount method
- Summary
- Chapter 7: Update Your React Components
- Understanding component lifecycle updating methods
- The componentWillReceiveProps method
- The shouldComponentUpdate method
- The componentWillUpdate method
- The componentDidUpdate method
- Setting default React component properties
- Validating React component properties
- Creating a Collection component
- Summary
- Chapter 8: Building Complex React Components
- Creating the TweetList component
- Creating the CollectionControls component
- Creating the CollectionRenameForm component
- Creating the Button component
- Creating the CollectionExportForm component
- Summary
- Chapter 9: Testing Your React Application with Jest
- Why write unit tests?
- Creating test suites, specs, and expectations
- Installing and running Jest
- Creating multiple tests and expectations
- Testing React components
- Summary
- Chapter 10: Supercharge Your React Architecture with Flux
- Analyzing your web application's architecture
- Understanding Flux
- Creating a dispatcher
- Creating an action creator
- Creating a store
- Summary
- Chapter 11: Preparing Your React Application for Painless Maintenance with Flux
- Decoupling concerns with Flux
- Refactoring the Stream component
- Creating CollectionStore
- Creating CollectionActionCreators
- Refactoring the Application component
- Refactoring the Collection component
- Refactoring the CollectionControls component
- Refactoring the CollectionRenameForm component
- Refactoring the TweetList component
- Refactoring the StreamTweet component
- Building and going beyond
- Summary
- Chapter 12: Refining Your Flux Apps with Redux
- Why Redux?
- One store to rule them all
- Fewer moving parts
- Uses the best parts of Flux
- Controlling state with reducers
- What are reducers?
- Collection reducers
- Adding tweets to collections
- Removing tweets from collections
- Setting the collection name
- Editing collection names
- Tweet reducers
- Receiving tweets
- Simplified action creators
- Connecting components to an application state
- Mapping state and action creators to props
- Connecting the stream component
- Connecting the StreamTweet component
- Connecting the collection component
- Connecting collection controls
- Connecting the TweetList component
- Creating stores and wiring your app
- Summary
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.