Introduction to React, GraphQL, and Relay

24 Ratings

Course Number: RCT-106
Duration: 5 days (32.5 hours)
Format: Live, hands-on

React Training Overview

React is a popular, high-performance JavaScript library for building fast, composable user interfaces. GraphQL is a new and innovative way to query and mutate graphs of data according to the needs of the GraphQL consumer. Relay is a React/GraphQL framework which manages the querying and mutating of data for React components consuming GraphQL services.

Accelebrate’s Introduction to React/GraphQL/Relay training class teaches experienced JavaScript developers the skills they need to immediately implement React/GraphQL/Relay in their applications.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand what React, GraphQL and Relay are and what problems they solve
  • Gain a deeper knowledge of ES2015, JSX and RelayQL
  • Learn how to configure React and GraphQL for Relay
  • Implement unit tests for React/GraphQL/Relay components
  • Learn React/GraphQL/Relay best practices

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.

Outline

Expand All | Collapse All

Overview
  • What is GraphQL? What problem does it solve?
  • What is React? What problem does it solve?
  • What is Relay? What problem does it solve?
ES2015, JSX and RelayQL
  • ES2015 features which impact React, GraphQL & Relay
  • How to create components with ES2015
  • Using Babel for ES2015, JSX & RelayQL
  • Using WebPack with React/GraphQL/Relay Development
  • Immutable Programming & Immutable.js
GraphQL - Setting up GraphQL with Node.js and Express
  • Express-GraphQL Package
  • Graphiql Tool
GraphQL - Built-In Types
  • Scalar Type
  • Object Type
  • Interface Type
  • Union Types
  • Input Object Type
  • List Type
  • Enum Type
GraphQL - Working Types
  • Selecting the Right Built-In Type to Construct Custom Types
  • Arguments
  • Resolving Values
  • Return Types
Querying GraphQL
  • Organizing Endpoints
  • Exploring the Query Language
  • Fragments
  • Consuming with AJAX
Mutations with GraphQL
  • Formatting Data to Send to the Server
  • Configuring Mutations and Input Types
  • Variables
React - Creating Components
  • Using createClass
  • Extending React.Component
  • Stateless Functions
  • Referencing DOM Elements
React - Create Element & JSX
  • Rendering
  • Passing Props
React - Working with State
  • Initializing State
  • Updating State
  • Working with Forms
React - Composing Components
  • Sibling Components and Keys
  • Parent and Child Components
  • Props and State
React - Component Life-Cycle
  • Events
  • Functions
React - Server Rendering
Relay - Configuring GraphQL for Relay
  • Node Interface
  • Registering Types
  • Mutations
Configuring React for Relay
  • Creating Containers and the Root Container
  • Configuring Routes
  • Setting up Mutations
Unit Testing - Tools
  • Jest & Jasmine
  • Enzyme
  • TestUtils
Unit Testing - Testing GraphQL
  • Unit Testing Custom Types
  • Unit Testing Queries
  • Unit Testing Mutations
Unit Testing - Testing React
  • Testing DOM Manipulations
  • Testing Properties and State
  • Simulating Events
  • Shallow Rendering
Testing Relay
  • Unit Testing Containers, Routes and Root Containers
  • Unit Testing Mutations
Conclusion

Training Materials

All attendees receive comprehensive courseware.

Software Requirements

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


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan