Introduction to React and Next.js


Course Number: RCT-128

Duration: 4 days (26 hours)

Format: Live, hands-on

React and Next.js Training Overview

React is the leading framework for building web user interfaces. Next.js is a powerful framework for server-side rendering (SSR) of React applications. Accelebrate’s Introduction to React and Next.JS training teaches experienced JavaScript performers who to use these two frameworks together to build highly performant web 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 Web Development courses are available as live, online classes for individuals.

Objectives

  • Apply the principles and best practices of React
  • Leverage aspects of the React API used in Next.js programming
  • Style components with Styled JSX
  • Implement routing with Next.js
  • Render react on the Server
  • Work with data using SWR

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 Next.js?
  • What problem does Next.js 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 Next.js
  • Benefits of a React Framework
Next.js Tooling
  • Creating a Next.js Project
  • Generated Project File Structure
  • Configuration Files
  • Building Projects
  • Developing Projects
Next.js Pages
  • 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
  • Using styled-jsx
  • CSS Grid and Flexbox
Server-Side Rendering
  • Benefits of Server-Side Rendering
  • Hosting Requirements
Routing
  • Index Route
  • Nested Routes
  • Dynamic Route Segments
  • Accessing the Router
  • Routing Imperatively
  • Shallow Routing
Lazy Loading
  • Lazy Loading Modules
  • Lazy Loading Components
Working with Data
  • Fetching Data the Next.js way
  • Using the Fetch API (can be substituted with Axios)
  • Fetching Data and Server-Side Rendering
  • Fetching Data from a REST API
  • Using the SWR Hook for Fetching Data
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
Automatic Static Optimization
Deploying a Production Site
Conclusion

Training Materials:

All React and Next.js 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