Question on React Challenges

Hey,

I’m moving my way through the FCC alpha challenges of React in order to learn the path for the Data Vis Projects. I was just wondering if someone could explain in greater detail why it is good practice to add a remove event listener and in component will unmount? I just don’t see why you would need to.

Stops memory leaks, decreases processor overhead and frees up threads. In short, snappier pages, and (if React isn’t quick enough with the garbage collection), avoids browser crashes.