Course Overview
You've been working with React for a while, building applications and following best practices. But do you sometimes find React behaving in ways you don’t fully understand? Do unexpected re-renders, performance issues, or complex component interactions leave you feeling stuck?
This course is designed to take you beyond the fundamentals and into the advanced mechanics of React. We’ll break down the hidden intricacies of React’s rendering engine, performance optimization techniques, and architectural patterns that top React developers use to build scalable and efficient applications.
What You’ll Learn:
- Understanding React State Like Never Before: Learn exactly how React manages state, how it triggers updates, and how to avoid common state-related pitfalls.
- Deep Understanding of Re-Rendering: Understand what re-rendering truly means, when React decides to re-render a component, and how to prevent unnecessary renders.
- React’s Decision Process: Mount, Re-Render, and Unmount: Gain a crystal-clear understanding of when React mounts a component, when it re-renders, and when it unmounts—and how you can control this behavior for better performance.
- Memoization & Performance Optimization: Master techniques like useMemo, useCallback, and React.memo to optimize expensive computations and prevent unnecessary updates.
- Reconciliation & Diffing Algorithm: Learn how React efficiently updates the DOM behind the scenes and how understanding this process can help you write more performant components.
- Higher-Order Components (HOC): Explore how to enhance component functionality using HOCs and compare them with modern alternatives like hooks.
- Context API & Advanced State Management: Dive deep into React’s Context API, fix some performance issue
- useRef & ForwardRef: Learn how to manage references, avoid unnecessary re-renders, and directly manipulate the DOM when needed.
- Handling Race Conditions & Async Pitfalls: Discover how to prevent common issues when dealing with asynchronous operations in React, ensuring a smooth and bug-free user experience.
- How to Optimize Performance in React Applications: Learn real-world techniques to improve app performance, reduce unnecessary renders, and make your React applications faster and more efficient.
By the end of this course, you won’t just use React—you’ll truly understand React. You’ll be able to debug complex issues, optimize performance, and write more maintainable and scalable code with confidence.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 3 bài · 7 phút
Chương 2 State as a Snapshot: Deep Understand 9 bài · 51 phút
- The fact about state Học thử 3:07
-
State as a snapshot - concept 3:42
-
Understand snapshot 7:45
-
Snapshot example 4:54
- More snapshot example Học thử 8:32
-
Set new state using callback 4:13
- Nested state object Học thử 7:38
-
How to mutate state? 5:54
- UseImmer hook Học thử 4:59
Chương 3 Re-render: Deep Understand 9 bài · 47 phút
-
Introduction to re-render 0:56
-
HeavyComponent 6:26
-
Lifecyle overview 6:12
-
First rule to fix performance: Isolate State 5:02
-
Misconception about props 2:17
-
Second rule to fix performance: Render as Props 9:31
-
ElementBeforeReRender vs ElementAfterReRender 12:39
-
Refactor to render as children 2:07
-
Summarize 1:48
Chương 4 Memoization: Enhance Performance Optimization 6 bài · 46 phút
-
Introduction to memoization 5:03
-
Prevent unnecessary re-render using memo 7:15
-
Break memo - Why memo not work? 5:44
-
UseCallback - memo function 10:17
-
UseMemo - memo result 9:02
-
Memo with useCallback & useMemo 8:47
Chương 5 Reconciliation & Diffing Algorithms 8 bài · 53 phút
-
Section Overview 0:55
-
Hmm. What's going on?? 5:54
-
How does React decide to unmount component? 9:10
-
The difference between re-render and mount/unmount 8:10
-
Force component mount/unmount 9:13
-
Deep understand the "key" props 12:07
-
Force component unmount with "key" props 3:32
-
The anti-pattern 4:06
Chương 6 Higher Order Component (HOC) 5 bài · 44 phút
-
What's HOC? 3:16
-
Understand higher order component 8:10
-
Implement withFetchData HOC 15:16
-
Implement withTheme HOC 6:13
-
Add additional logic to HOC 10:38
Chương 7 React Context Deep Dive: Don't Scare Context 5 bài · 41 phút
-
Section Overview 1:44
-
App overview 11:17
-
State & pass props down 6:47
-
Context can fix performance 11:51
-
Optimize re-render for context 9:44
Chương 8 Ref: Access to DOM Element 6 bài · 49 phút
-
Introduction 1:52
-
Explain the ref in detail 7:33
-
More about ref - experimental 9:25
-
Most common use case 10:53
-
Pass ref to children component 8:47
-
UseImperativeHandle 10:57
Chương 9 Race Condition on Front End 3 bài · 20 phút
-
Welcome to this section 4:49
-
Race condition demo 5:17
-
The way to fix race condition 10:00
Requirment
-
Have experience with React (1-2 years)
-
Ability to build applications with React
Outcomes
-
Understanding React State Like Never Before
-
Deep Understanding of Re-Rendering
-
React’s Decision Process: Mount, Re-Render, and Unmount
-
Memoization & Performance Optimization
-
Reconciliation & Diffing Algorithm
-
Higher-Order Components (HOC)
-
Context API & Advanced State Management
-
Handling Race Conditions
0 Student
1 Course
0 review