filmov
tv
React Fundamentals : What Causes a React Component to Re-Render
Показать описание
In this video, I will go over what causes a react component to re-render.
The base reason a component re-renders is because the props that a component receives get updated.
I will go over several examples showing why how different component structures work and can get re-rendered.
When a component gets re-rendered, it doesn't mean the dom will get updated. First the virtual dom gets updated and react will compare the virtual dom against the actual dom to see if changes need to be made.
Github Repo:
0:30 Intro
1:00 Example 1 - Input Component
1:48 Example 2 - Form Component
5:02 Example 3 - Key prop
7:04 Example 4 - Context Provider
12:45 Outro
The base reason a component re-renders is because the props that a component receives get updated.
I will go over several examples showing why how different component structures work and can get re-rendered.
When a component gets re-rendered, it doesn't mean the dom will get updated. First the virtual dom gets updated and react will compare the virtual dom against the actual dom to see if changes need to be made.
Github Repo:
0:30 Intro
1:00 Example 1 - Input Component
1:48 Example 2 - Form Component
5:02 Example 3 - Key prop
7:04 Example 4 - Context Provider
12:45 Outro
React Fundamentals : What Causes a React Component to Re-Render
React JS Explained In 10 Minutes
React for the Haters in 100 Seconds
10 React Antipatterns to Avoid - Code This, Not That!
React Tutorial for Beginners
React Fundamentals in 30 Minutes
They made React great again?
Practical React Fundamentals | FREE COURSE
Livestream with Kent: EpicReact.Dev Review of React Fundamentals
React Fundamentals - Full Course for Beginners
Learn React With This One Project
React Course - Fundamentals - Intro
10 React Hooks Explained // Plus Build your own from Scratch
Best way to learn React!
React Fundamentals | Learning React? Must watch this.
React Crash Course 2024
React Query Makes Writing React Code 200% Better
What Is React And Why You Need To Know It
React.ComponentProps is such a lifesaver
React JS Tutorial - Basic to Advance (2023)
React Fundamentals - April 2016
How To Master React In 2024 (Complete Roadmap)
React JS Full Course 2023 | Build an App and Master React in 1 Hour
Full React Course 2020 - Learn Fundamentals, Hooks, Context API, React Router, Custom Hooks
Комментарии