Advanced React and Redux

32 Ratings

Course Number: RCT-112

Duration: 5 days (32.5 hours)

Format: Live, hands-on

Advanced React and Redux Training Overview

Accelebrate's Advanced React and Redux training teaches attendees how to apply advanced React and Redux coding techniques and gain a deeper understanding of events, reconciliation, animations, and non-React UI elements.

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, online classes for individuals. See a schedule of online courses.

Objectives

  • Use custom Hooks
  • Understand state management including when it is needed and the various alternatives
  • Utilize Redux to manage the state of the application
  • Use React and Redux together
  • Implement React and Redux best practices
  • Write unit tests for React using Jest and React Testing Library

Prerequisites

All attendees should have taken Accelebrate's Introduction to React and Redux course or have the equivalent experience.

Outline

Expand All | Collapse All

Introduction
Custom Hooks
  • Background
  • Definition
  • Reuse of stateful logic
Context
  • When to use Context
  • useContext Hook
State Management
  • What is State?
  • When do you need Redux?
  • Alternatives to Redux
  • Using Context for Shared State
  • Server State: React Query, SWR, or GraphQL client
Redux
  • What is Redux?
  • What is State?
  • Benefits Checklist
  • Principles of Redux
  • Core Concepts (Store, State, Reducers, Actions, Action Creators)
  • Complementary Packages
  • When do you need Redux?
  • Basic Redux Example (includes time traveling)
  • Gotchas/Tips
Using Redux with React (React Redux Library)
  • The connect function
  • Writing mapState functions
  • Writing mapDispatch Functions
  • Provider
  • Inside React Redux
  • Example
Asynchronous Actions (Redux Thunk)
  • Overview
  • Async Actions (Thunks)
  • Installation
  • Your First Thunk
  • Full CRUD Example
Putting It All Together (React & Redux & Thunk)
Testing
  • Tools (Jest, React Testing Library or Enzyme)
  • Syntax
  • Testing Vanilla JavaScript with Jest
  • Mocking
    • Mocking Modules
    • Mocking Functions
  • Debugging Tests
  • Component Tests with React Testing Library
  • Component Tests with Enzyme
    • Shallow
    • Full
    • Snapshot
  • Testing Redux Actions & Thunks, Reducers, HTTP
Optional Topics/FAQ (if time permits)
  • Styling
    • Using Classes
    • Using Styles
    • CSS in JS Overview
  • Performance
    • What causes a component to render?
    • Wasted Renders
    • Memoization
    • React.memo
    • Pure Components
  • Advanced Components
    • Higher-Order Components
    • Render Props
Conclusion

Training Materials:

All React training 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