In React, when a parent component renders, it will cause all its ________ components to potentially re-render as well.

  • ancestor
  • child
  • descendant
  • sibling
In React, when a parent component renders, it will cause all its child components to potentially re-render as well. This is because React re-renders the child components to ensure that they reflect any changes in the parent's state or props.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *