Your privacy matters: This site uses cookies to analyze site usage and provide social media features. Learn More.

Comprehensive React and Redux using TypeScript

RCT-120 (5 Days)
4.59 out of 5 (33 reviews)  

Request Pricing

React Training Overview

React is a widely-used, modern JavaScript library for building web user interfaces, often in conjunction with Redux for managing application state. Using TypeScript, experienced object-oriented developers learn how to build responsive, interactive web front-ends using React and Redux.

Note: This React class can also be taught using JavaScript/ECMAScript.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

React Training Objectives

All students will:

  • Understand what React is and the problems it addresses
  • Use React components to build interactive interfaces
  • Create forms
  • Configure simple and complex routing
  • Understand what Redux is and the problems it addresses
  • Use React and Redux together
  • Learn React and Redux best practices

React Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Setup
  • Verifying Node.js and either NPM or yarn
  • Verifying class libraries
  • Verifying class files
  • Verifying TypeScript setup
  • IDE (WebStorm or Visual Studio Code preferred)
Introduction to React
  • What problem(s) does React solve?
    • Traditional, pre-JS web applications
    • Late-model, MV* and JS web applications
  • React’s solutions
    • Single-page apps
    • View libraries
    • Helper libraries
  • React and TypeScript development environment
    • Simplicity: create-react-app and react-scripts-ts
    • Build-your-own: an overview
    • Configuring TypeScript
  • Hello world
    • Your first React component
    • Using React within a page
    • Making some basic changes
    • React and JSX and TypeScript
Components
  • Two types of components
    • Functional components
    • Class-based components
    • Why use one or the other?
    • Testing basic components
  • Props and state
    • Properties and types
    • Passing in properties
    • Limitations of properties
    • State and types
    • Using state
    • When to use state, when to use props
    • Testing components with Enzyme
  • Event handling
    • React event handling
    • Event types
    • Synthetic events
    • React vs DOM event handling
    • Testing events
  • Children
    • Component types
    • Components within components
    • Known children and unknown children
    • Testing child components
  • Parent-child component communication
    • Communication from parent to child
    • Communication from child to parent
    • Container vs presentational components
    • Using types to validate communication
React Component Lifecycle
  • Overview
  • Startup and mounting
    • Deprecated methods
  • Updating
    • Deprecated methods
  • Unmounting
  • Calling lifecycle methods in tests
  • Error handling and error boundaries
Intermediate component usage
  • Asynchronous data
    • When should asynchronous fetching be done?
    • What challenges does async offer?
    • Working with Promises and generic types
    • Asynchronous best practices
    • Testing against async fetches
  • Lists of data
    • Iterating over a list
    • The key property
    • Sorting data
  • Testing component interactions
Forms
  • Controlled vs uncontrolled components
    • Form field types
    • What does React know about your form field?
    • Does React control your form field?
    • When does React find out about changes to your form field?
  • Form field types
    • Controlling a text field
    • Other form fields
  • Getting data out of a form
  • Working with form data in tests
Introduction to Redux
  • What problems does Redux solve?
  • How does it solve them?
  • Basic Redux pattern
    • Store
    • Reducers
    • Actions
  • Redux types
  • A basic Redux example
  • Redux and TypeScript patterns
  • Testing Redux
  • Complex actions with Redux
React and Redux
  • Plugging into React
    • State as props
    • Events as dispatch
    • Introducing higher-order components
  • Types with React-Redux
    • Too many variations
    • Using Generics
    • Solving TypeScript issues with React-Redux
  • Turning standalone Redux into a component
  • Middleware
    • The logger
    • The devtools
    • Other middleware
  • Building a real-world React-Redux component
  • Testing React-Redux components
  • Higher-order components in detail
    • What do higher-order components do?
    • Why would I use a higher-order component?
Asynchronous Redux
  • The difficulties of asynchronous Redux
  • Asynchronous middleware
    • Depending on your needs, we can use either thunks, sagas, or survey both techniques for asynchronous interactions
    • Types as appropriate
  • Dispatching async actions
  • Typing async results
  • Catching results
  • Handling errors
  • Testing asynchronous Redux
Advanced Redux
  • Using reselect to minimize re-rendering
    • Reselect, types, and function types
  • Normalizing state
    • Using types to help normalize state
  • Higher-order reducers
  • Helper libraries
Introduction to routing
  • What problem is routing trying to solve?
  • How does routing solve this problem?
    • Tying components to URLs
    • Passing parameters via the URL
  • Routing software
    • React-router
    • Other routers
  • Simple router example
  • Routing types
  • Testing routing
More complex routing
  • Top-level routing
    • Routing at the top of your application
    • Allowing other parts of the application to manage routing
  • Redirects
  • React-router objects and their types
    • match
    • history
    • location
  • Routing organizational techniques
  • Testing advanced routing
React, Redux, and routing
  • The tools
    • React, Redux, React-router and an adapter
  • Routing types
  • Routing without Redux
  • Storing routing state in Redux
  • Pulling routing state from Redux
  • Testing Redux and the router
Advanced React
  • Understanding and optimizing reconciliation
    • Best practices for React reconciliation
    • Recognizing common issues
    • Making improvements
  • Refs
    • What’s a ref?
    • What problem does it solve?
    • Ref types
    • How can I use refs?
    • Testing refs
  • Context
    • What is the context API?
    • Is the context API public?
    • How to use the context API
    • Context API types
    • Testing the context API
  • Render props
    • Rendering in depth
    • Rendering a function instead of a prop
    • Using the render prop pattern
    • Render props, function signatures, and types
  • Testing render props
Conclusion
Request Pricing

Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

RCT-120

Duration:

5 Days

Prerequisites:

All attendees must be experienced JavaScript developers with a fairly advanced understanding of JavaScript, including prototypes and functions as first-class citizens.  If your group doesn’t yet have this experience, we could readily add one or two days to the beginning of your course to appropriately prepare them.

Training Materials:

All attendees receive comprehensive courseware.

Software Requirements:

  • Google Chrome and/or Firefox with Firebug
  • Other modern browsers as desired
  • IDE/development environment of your choice
  • Other free software and lab files that Accelebrate would specify, including Node.js

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Toll-free in US/Canada:
866 566 1228
International:
+1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Huntsville

Montgomery

Birmingham

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

San Francisco

Oakland

San Jose

Orange County

Los Angeles

Sacramento

San Diego

Colorado

Denver

Boulder

Colorado Springs

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Miami

Jacksonville

Orlando

Saint Petersburg

Tampa

Georgia

Atlanta

Augusta

Savannah

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Ceder Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

Banton Rouge

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Hagerstown

Frederick

Massachusetts

Springfield

Boston

Cambridge

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Saint Paul

Minneapolis

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Reno

Las Vegas

New Jersey

Princeton

New Mexico

Albuquerque

New York

Buffalo

Albany

White Plains

New York City

North Carolina

Charlotte

Durham

Raleigh

Ohio

Canton

Akron

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Tulsa

Oklahoma City

Oregon

Portland

Pennsylvania

Pittsburgh

Philadelphia

Rhode Island

Providence

South Carolina

Columbia

Charleston

Spartanburg

Greenville

Tennessee

Memphis

Nashville

Knoxville

Texas

Dallas

El Paso

Houston

San Antonio

Austin

Utah

Salt Lake City

Virginia

Richmond

Alexandria

Arlington

Washington

Tacoma

Seattle

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Edmonton

Calgary

British Columbia

Vancouver

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2019 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.