Pregunta de entrevista de Take-Two

“Please explain the difference between the forEach method and the map method” “Please explain what causes re-rendering of React components”