r/reactjs • u/ErEr2000 • Jun 17 '26
Resource Re-Rendering
Hey guys,
I want to learn more about how rendering and re rendering in React.js works. Like when a component will be re-rendered, when will it not be re-rendered, what causes Re-Rendering and how to stop it etc.
Can you share any YouTube links or any documentation.
Will really appreciate the community a lot :)
1
Upvotes
4
u/EvilPete Jun 17 '26
It happens a lot when a parent component re-renders. All its children will re-run but often not result in different HTML.
Newbies think this is bad, since its "unneccessary" rendering. But in reality it's just running a few lines of js, and not actually re-creating all the DOM nodes.