Closed benburwell closed 8 years ago
A timer leak was occurring because the setInterval() was not being cleared when the AlertTable component was re-mounted. By storing the timer in the component, we are able to clear it in componentWillUnmount, which resolves this issue.
A timer leak was occurring because the setInterval() was not being cleared when the AlertTable component was re-mounted. By storing the timer in the component, we are able to clear it in componentWillUnmount, which resolves this issue.