Showcasing how to remove intervals (or listeners) on unmounted React components. Read more about it.
git clone git@github.com:the-road-to-learn-react/react-interval-setstate-unmounted-component-performance.git
- cd react-interval-setstate-unmounted-component-performance
- npm install
- npm start
- visit
http://localhost:3000