Advanced React

Explore Next Level React Skills & Best Practices for Experienced Developers

TT4197

Intermediate

2 Days

Course Overview

React is incredibly capable and easy to use once you get past the initial learning curve, but there is so much more to it that most developers never take advantage of the more advanced features. Most often they don't know what the advanced features are, much less how to apply them properly, consistently, and to each's greatest utility. Geared for experienced React developers, Advanced React is a two-day, hands-on course designed to provide you with the skills required to take full advantage of the hidden capabilities and efficiencies that React has to offer.

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom. Working in a hands-on learning environment, guided by our expert team, attendees will learn about and explore:

  • Write React components that optimize the virtual DOM
  • Make the most of TypeScript with React apps for type safety
  • Use prop types instead of TypeScript
  • Describe all the built-in hooks
  • Write their own custom hooks
  • Speed up apps with useMemo and useCallbak
  • Solve complex state with useReducer
  • Bypass prop drilling with useContext
  • Respond to all events - even those React can't handle
  • Create navigation routes with the newest router
  • Read route parameters and query strings
  • Construct the fastest hyperlinks
  • Author sub-routes
  • Optimize loading with sub-routes
  • Make React components conform to a11y and a18n needs

Course Objectives

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom. Working in a hands-on learning environment, guided by our expert team, attendees will learn about and explore:

  • Write React components that optimize the virtual DOM
  • Make the most of TypeScript with React apps for type safety
  • Use prop types instead of TypeScript
  • Describe all the built-in hooks
  • Write their own custom hooks
  • Speed up apps with useMemo and useCallbak
  • Solve complex state with useReducer
  • Bypass prop drilling with useContext
  • Respond to all events - even those React can't handle
  • Create navigation routes with the newest router
  • Read route parameters and query strings
  • Construct the fastest hyperlinks
  • Author sub-routes
  • Optimize loading with sub-routes
  • Make React components conform to a11y and a18n needs

Course Prerequisites

This is an intermediate-level course for web developers with prior practical experience working with React.  Attendees are required to have a very strong grasp of React, Redux and advanced JavaScript.

Take Before: Attendees should have experience with the topics in the following courses, or should have recently attended these as a pre-requisite:

  • TT4195          Mastering React | With Redux, Flux, Unit Testing, JSX & More – 5 days

Please see the Related Courses tab for Pre-Requisite course specifics and links, links to similar courses you might review as an alternative, as well as suggested Next-Step Follow-On Courses and Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

Getting Started

Understand the virtual DOM
Why the vDOM?
Reconciliation
How it compares
How to optimize your code
The Ivy engine
How hooks fit in
Why one-way data flow
Transpiling, bundling, minifying with webpack

TypeScript in React
JavaScript vs Java (et al.)
What TypeScript really does
TS does not provide strong typing
Interfaces vs types
Embracing functional vs OOP
Generics in React
Discriminated unions
CSS Properties
Event object
3rd party libraries with no TS support

Proptypes
Built-in prop type checking
Making props optional
Setting prop types

Speeding up React with lazy loading
The best strategy
The lazy method
The Suspense component
Fallbacks
Code splitting
Error boundaries

Hooks overview
All built-in hooks
When to use the obscure ones

useContext for code clarity
Why prop drilling is evil
Create context
Reading context
Updating context

Deep dive into useEffect
How useEffect works
Simulating lifecycle events
Exhausting dependencies
useEffect belongs with its own render

Speeding your app with useMemo and useCallback
What is the difference?
Optimizing components with useCallback
Optimizing with useMemo
Why not just useMemo everything?

Fixing complex state - useReducer
What is useReducer?
Woot! No need for Redux, right?
How to optimize useReducer
When not to useReducer

How to write a custom hook
First - why?
The rules
How to write the code
How to best use a custom hook

Advanced event handling
React's synthetic events
How to handle events that React refuses to
Low-level power of events
The need to de-register events
Let's create an infinite scroll component

Routing
Overview of the newest React Router
Creating baseline routes

Route parameters & query strings
What's the difference?
REST and parameters
Creating route parameters
Reading route parameters
Reading query strings

Efficient hyperlinks
Why not use <a>?
How to do it the modern way
Relative vs absolute paths

Subroutes
Routes within routes
How to create relative routes
How this simplifies your complex navigation

Course Materials

Student Materials: Each participant will receive a Student Guide with course notes, code samples, software tutorials, step-by-step written lab instructions, diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work. Any courseware of lab materials provided in a cloud (if applicable) will also be made available to you separately.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. We can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Post-Course Resource Site access with Review Labs & Live Instructor Follow-on Support, access to QuickSkills recorded High-Value lessons, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Hot Summer Savings!
Buy One Get One Free!

Enroll by August 31 in any TWO public classes in 2022 for the price of ONE! 

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More