How is the setInterval cleared when Counter is no longer rendered? It seems like a leak.
The setInterval will also keep firing causing, wasting CPU and battery.
It's hard to take any examples here seriously without showing proper cleanup that would pass code review.