I'm trying to unmount a component with a setInterval. This is based on the answer here: Component: class ImageSlider extends React.Component { constructor(props) { super(pro
Solution 1:
setInterval returns an in interval Id that you can use in clearInterval.
Post a Comment for "Unmounting A Component With A Setinterval In React"