Building React Apps with Remix


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

React Apps Training Overview

This React Apps with Remix training course teaches attendees to how to deploy a fully functional React application using Remix. Participants master Remix's architecture, including React Router and server-side handling using Node.js and Visual Studio Code.

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

  • Discover why React and Remix are used for modern web development and the specific problems they solve
  • Understand Remix’s architecture
  • Set up a development environment, including installing Node.js and configuring Visual Studio Code
  • Create and manage a Remix project
  • Understand folder structures, browser support, handling styles and assets, and managing dependencies
  • Create and render React components, understand JSX, and optimize rendering with keys and various JSX operators
  • Master advanced concepts like component props, events, and hooks, including state, effect, callback, and custom hooks.
  • Explore Remix’s full-stack capabilities
  • Implement styling techniques (CSS Modules, Tailwind CSS, CSS-in-JS) and unit testing (Jest, Testing Library)
  • Deploy a fully functional React app with Remix

Prerequisites

All attendees must have experience with modern JavaScript or TypeScript, including the new language features like classes, modules, arrow functions, and destructuring.

Outline

Expand All | Collapse All

Introduction
React and Remix Overview
  • Why React and Remix?
  • What problem does React solve?
  • What problem does Remix solve?
Remix Architecture
  • React Router
  • Compiler
  • Server-Side HTTP Handler
  • Web Fetch API
  • Server Framework
  • Browser Framework
Development Environment
  • Install Node.js
  • Configure Visual Studio Code
  • Install React Developer Tools
  • Install Remix NPM Packages
  • Remix CLI
Remix Project Setup
  • Create a new project
  • Folder Structure
  • Browser Support
  • Styles and Assets
  • Dependencies
React Components
  • Creating an Element
  • Create a Function Component
  • Rendering a Component
  • Composing & Reuse
React Component Rendering and JSX
  • What problem does JSX solve?
  • Embedding Expressions
  • Specifying Attributes
  • Using Fragments
  • Virtual DOM and Fiber Nodes
  • Ternary Operator (?)
  • Logical (&& and ||) Operators
  • Rendering a list of data
  • Optimizing rendering with keys
React Component Props
  • Immutable Props
  • String Literals vs. Expressions
  • Prop Types
  • Default Prop Values
  • Naming Patterns for Props
React Component Events
  • What are Events?
  • Common Events in React: Click and Change
  • Event Handlers and Functional Component
  • Passing Event Handlers via Props
React Component Hooks
  • What is Component State?
  • State Hook
  • Effect Hook
  • Callback Hook
  • Custom Hooks
Capture Data with Forms
  • Controlled and Uncontrolled Components
  • Enable Change Logic across Multiple Form Controls
  • Wiring up Input, Textarea, and Select
  • Handling different types of Input
React Component Architecture
  • Reusable Components
  • Component Communication
  • Design Patterns
  • Container and Presentation Components
  • Defining Prop Drilling
React Router
  • Define Routes
  • Pages and Layouts
  • Linking and Navigating
  • Dynamic Routes
  • Error Handling
  • File Structure
Remix Full Stack Data Flow
  • Loaders
  • Components
  • Actions
  • Submission and Revalidation
Isomorphic Rendering
  • Server vs. Client Execution
  • Server Rendering
  • Client Rendering
  • Server and Client Composition Patterns
Progressive Enhancement
  • What is Progressive Enhancement?
  • Why Progressive Enhancement?
  • Progressive Enhancement and Remix
  • Performance
  • Resilience and Accessibility
  • Simplicity
Pending UI
  • What is a Pending UI?
  • Busy Indicators
  • Optimistic UI
  • Skeleton Fallbacks
State Management
  • What is State Management?
  • React and State Management
  • React Anti-Patterns in Remix
  • Managing State with Remix instead of React
Network Concurrency Management
Form vs. Fetcher
  • Form Component
  • useActionData Hook
  • useFetcher Hook
  • useNavigation Hook
  • URL Considerations
  • When the URL Should Change
  • When the URL Should Not Change
Styling
  • CSS Modules
  • Tailwind CSS
  • CSS-in-JS (Styled Components)
  • Sass
Unit Testing Overview
  • Jest and Testing Library
  • What are React components tested for?
  • Tests, Test Suites, Assertions, and Mocking
  • Test DOM rendering
  • Test Event Handlers with Spies
  • Test Custom Hooks
  • Mocking Components
  • Mocking Hooks
Deployment
Conclusion

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware and permission to install Node.js and Visual Studio Code on their computers. Also, students will need permission to install NPM Packages and Visual Studio Extensions. A cloud-based environment can be provided if students cannot configure a local environment.



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