YoVDO

Write Clean Code with React Suspense - React Error Boundaries Explained

Offered By: Dave Gray via YouTube

Tags

React Courses Web Development Courses User Experience Courses User Interface Design Courses React Suspense Courses

Course Description

Overview

Learn how to write clean code with React Suspense and Error Boundaries in this comprehensive tutorial video. Explore the implementation of fallback loading state components and error handling to enhance your app's user experience. Dive into SWR data fetching, enable Suspense in SWR, and understand the importance of Error Boundaries. Follow along as the instructor guides you through installing react-error-boundary, adding Error Boundaries to your components, and refactoring your code for improved performance. Gain practical insights into creating more robust and user-friendly React applications while mastering advanced concepts like conditional rendering and component cleanup.

Syllabus

Intro
Welcome
Starter Code & Start up
SWR Data Fetching
Enable Suspense in SWR
Conditional logic to replace
Adding React Suspense
PostsList component clean up
Why We Need Error Boundaries
Install react-error-boundary
Adding an Error Boundary
A Better Error Boundary
Reviewing the Refactor
Closing Notes


Taught by

Dave Gray

Related Courses

Introduction to ReactJS
Microsoft via edX
Front-End Web Development with React
The Hong Kong University of Science and Technology via Coursera
Multiplatform Mobile App Development with React Native
The Hong Kong University of Science and Technology via Coursera
Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax
React
Udacity