Introduction to React using JavaScript/ECMAScript

RCT-100 (3 Days)
4.6 out of 5 (165 reviews)  

Request Pricing

React Training Overview

React is a popular, high-performance JavaScript library for building rapidly responsive user interfaces.

Accelebrate’s Introduction to React using JavaScript/ECMAScript training course teaches experienced JavaScript developers the skills they need to immediately implement React in their applications.

Location and Pricing

Most Accelebrate courses are taught as private, customized training for 3 or more attendees at our clients' sites worldwide. In addition, we offer live, private online classes for teams who may be in multiple locations or wish to save on travel costs. Please visit our client list for organizations for whom we have delivered onsite training. To receive a customized proposal and price quote for private on-site or online training, 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
  • Master advanced React skills
  • Learn React 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
  • 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 development environment
    • Simplicity: create-react-app
    • Build-your-own: an overview
  • Hello world
    • Your first React component
    • Using React within a page
    • Making some basic changes
    • React and JSX
Components
  • Two types of components
    • Functional components
    • Class-based components
    • Why use one or the other?
    • Testing basic components
  • Props and state
    • Passing in properties
    • Limitations of properties
    • Using state
    • When to use state, when to use props
    • Testing components with Enzyme
  • Event handling
    • React event handling
    • Synthetic events
    • React vs DOM event handling
    • Testing events
  • Children
    • 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
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
  • PropTypes
    • Typing and React
    • Using PropTypes
    • PropTypes in production
  • Asynchronous data
    • When should asynchronous fetching be done?
    • What challenges does async offer?
    • 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
    • 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 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
  • 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
    • match
    • history
    • location
  • Routing organizational techniques
  • Testing advanced routing
Hooks
  • What are hooks, and what problem do they solve?
  • Defined hooks
    • The state hook
    • The effect hook
  • Rules of hooks
  • Using hooks today
  • Building your own hooks
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?
    • How can I use refs?
    • The challenges of testing refs
  • Context
    • What is the context API?
    • Is the context API public?
    • How to use the context API
    • Testing the context API
  • Render props
    • Rendering in depth
    • Rendering a function instead of a prop
    • Using the render prop pattern
    • Testing render props
Conclusion

Here's a sample React lesson demonstrating how to use a custom hook to collect form data with React. You can also download the code and demos shown in the video. 

See other React topics in our video series, 5-minute React Tips.

Request Pricing

Lecture percentage

35%

Lecture/Demo

Lab percentage

65%

Lab

Course Number:

RCT-100

Duration:

3 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 Train For 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

Baton 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.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.