Listeners in Chrome dev tools' performance profiling results
问题 I have been profiling a React app using Chrome dev tools and I've discovered a linearly increasing Listener count. Take a look at the screenshot below. The Listeners are in orange. I narrowed it down to a simple countdown value render inside p tags. The remaining time is generated using setInterval function every 1000ms and then formatted and rendered inside the p tags. I created a simple React app using create-react-app and modified the code inside the App.js's App component to update the