React Components

Explore the power of React components for cutting-edge web development
Preview in Mapt

React Components

Christopher Pitt

1 customer reviews
Explore the power of React components for cutting-edge web development

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99 p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


React Components Book Cover
React Components
$ 27.99
$ 19.60
Learning Web Development with React and Bootstrap Book Cover
Learning Web Development with React and Bootstrap
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $24.98
Add to Cart

Book Details

ISBN 139781785889288
Paperback182 pages

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.

Table of Contents

Chapter 1: Thinking in Components
Why components?
Using modern JavaScript
Compiling modern JavaScript
Debugging in the browser
Managing common tasks
Testing in JSBin
Summary
Chapter 2: Working with Properties and State
Nesting components
Shared component actions
Component life cycle methods
Summary
Chapter 3: Saving and Communicating Data
Validating properties
Storing cookies
Using local storage
Using event emitters
Summary
Chapter 4: Styling and Animating Components
Adding new pages
Adding styles to components
Changing and reverting
Animating new components
Working with CSS transitions
Organizing styles with Sass
Alternatives
Summary
Chapter 5: Going Material!
Understanding material design
Surfaces
Keeping your head above water
Alternative resources
Summary
Chapter 6: Changing Views
Location, location, location!
Using a router
Creating public pages
Summary
Chapter 7: Rendering on the Server
Rendering components to strings
Creating a simple server
Creating a server backend
Communicating through Ajax requests
Communicating through web sockets
Structuring server-side applications
Summary
Chapter 8: React Design Patterns
Where we are
Flux
Redux
Summary
Chapter 9: Thinking of Plugins
Dependency injection and service location
Extending with callbacks
Stores, reducers, and components
Summary
Chapter 10: Testing Components
Eat your vegetables
Types of tests
Testing with assertions
Summary

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

Authors

Table of Contents

Chapter 1: Thinking in Components
Why components?
Using modern JavaScript
Compiling modern JavaScript
Debugging in the browser
Managing common tasks
Testing in JSBin
Summary
Chapter 2: Working with Properties and State
Nesting components
Shared component actions
Component life cycle methods
Summary
Chapter 3: Saving and Communicating Data
Validating properties
Storing cookies
Using local storage
Using event emitters
Summary
Chapter 4: Styling and Animating Components
Adding new pages
Adding styles to components
Changing and reverting
Animating new components
Working with CSS transitions
Organizing styles with Sass
Alternatives
Summary
Chapter 5: Going Material!
Understanding material design
Surfaces
Keeping your head above water
Alternative resources
Summary
Chapter 6: Changing Views
Location, location, location!
Using a router
Creating public pages
Summary
Chapter 7: Rendering on the Server
Rendering components to strings
Creating a simple server
Creating a server backend
Communicating through Ajax requests
Communicating through web sockets
Structuring server-side applications
Summary
Chapter 8: React Design Patterns
Where we are
Flux
Redux
Summary
Chapter 9: Thinking of Plugins
Dependency injection and service location
Extending with callbacks
Stores, reducers, and components
Summary
Chapter 10: Testing Components
Eat your vegetables
Types of tests
Testing with assertions
Summary

Book Details

ISBN 139781785889288
Paperback182 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Web Development with React and Bootstrap Book Cover
Learning Web Development with React and Bootstrap
$ 31.99
$ 22.40
React Design Patterns and Best Practices Book Cover
React Design Patterns and Best Practices
$ 35.99
$ 25.20
Flux Architecture Book Cover
Flux Architecture
$ 35.99
$ 25.20
React: Building Modern Web Applications Book Cover
React: Building Modern Web Applications
$ 59.99
$ 42.00
React and React Native Book Cover
React and React Native
$ 39.99
$ 28.00
React Native Cookbook Book Cover
React Native Cookbook
$ 39.99
$ 28.00