Introduction to React and Gatsby


Course Number: RCT-126
Duration: 4 days (26 hours)
Format: Live, hands-on

React and Gatsby Training Overview

React is the most popular framework for building interactive web user interfaces. Gatsby is a static progressive web application (PWA) generator. Gatsby loads only the essential HTML, CSS, JavaScript, and data for your site, ensuring that it loads as quickly as possible. Gatsby also prefetches key resources for other pages so that clicking on links to these pages loads them as quickly as possible.

In this class, experienced JavaScript developers learn the fundamentals of the React framework and how to accelerate the site’s perceived page load times using Gatsby.

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

  • Learn the fundamentals of the React framework
  • Build functional and class-based React components
  • Style components
  • Accelerate perceived page loading times with Gatsby
  • Use GraphQL to rapidly query data in your applications
  • Install and configure Gatsby plugins
  • Use Redux for state management
  • Deploy a production site

Prerequisites

All attendees must be experienced JavaScript developers. Knowledge of modern JavaScript concepts such as classes, destructuring, rest/spread operators, Promises, etc., is very helpful. If your team needs to get up to speed with JavaScript, we would be delighted to provide a 1-day primer course on the JavaScript language.

Outline

Expand All | Collapse All

Introduction
  • Modern Web Development Tooling
  • Languages of the Web: HTML, CSS, JavaScript
  • Role of Data
  • What is React?
  • What problem does React solve?
  • What is Gatsby?
  • What problem does Gatsby solve?
Getting Started with React
  • Three Elements of React Programming
  • Declarative Programming
  • Component-based
  • Learn Once, Write Anywhere
React Projects
  • Create React App Generator
  • Generated Project File Structure
  • Webpack, Babel, etc...
  • Hot Reloading
  • React Create Element and JSX Syntax
Functional Components
  • What is a Component
  • Rendering Components
  • Model-Driven DOM Changes
Passing Data to Components
  • Passing Data with Props
  • Object Destructuring
  • Default Props
  • PropTypes
  • Composing Components
  • Composition Patterns
  • Passing Functions with Props
React Hooks
  • Managing State
  • Understand the Purpose of State
  • Updating State Properly
  • Manage Side Effects with Effect Hook
  • Running Code when a Component Loads
  • Accessing Elements with the Ref Hook
  • Setting the Element Focus on Component Load
Class-based Components
  • Class-based vs. Functional Components
  • Managing State
  • Lifecycle Methods
Styling React Components
  • Style and Class Name Props
  • CSS Modules
  • CSS in JS
  • Emotion vs. Styled Components
Getting Started with Gatsby
  • Modern Site Generator
  • What is a static site?
Gatsby Tooling
  • Installing the Gatsby CLI
  • Creating a Gatsby Project
  • Using Starter Projects
  • Generated Project File Structure
  • Configuration Files
  • Building Projects
  • Static Site Hosting
Gatsby Components
  • What is a Page Component?
  • Routing and Page Components
  • Linking Between Pages
  • What is a Subcomponent?
  • Reusing Component Logic Across Pages
  • What is a Layout Component?
  • Layout Components and CSS
  • Layout Components and Emotion
  • Layout Components and Styled Components
  • CSS Grid and Flexbox
Working with Data
  • What is Data?
  • Using Many Sources of Data
  • Kinds of Data
  • Unstructured Data
  • Create Page API
  • Query Data with GraphQL
  • Page Queries
  • Static Queries
Wordpress (optional)
  • Explore how to power you Gatsby website with a Wordpress site
  • Wordpress as a data source for building the Gatsby site
  • Wordpress as a data source for the live executing of the web site
Using GraphQL
  • GraphQL Queries
  • Thinking of Data as a Graph
  • Using GraphIQL
  • Selecting Properties
  • Aliasing
  • Variables
  • Operation Name
  • Fragments
Gatsby Plugins
  • Installing Plugins
  • Configuring Plugins
  • Source Plugins
  • Transformer Plugins
  • Explore a Variety of Plugins
Redux (optional, adds an additional day)
  • Use Redux to manage state in Gatsby
  • Using the "gatsby-plugin-react-redux" Plugin
  • Redux Pattern
  • Immutable Programming
  • Actions
  • Reducers
  • Selecting State Data
  • Performing Asynchronous Operations
Deploying a Production Site
  • Auditing a Site
  • Creating a Manifest
  • Offline Support
  • Page Metadata
Conclusion

Training Materials

All React and Gatsby training attendees receive comprehensive courseware.

Software Requirements

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

 



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