In this React example we used already created counter that counted up infinitely and counted down to zero and enhanced it. We added upper limit for counter value. You could set a starting value for the counter. This example adds an upper limit for counter value.
1- Count Up from zero or a given value to an upper limited defined value and keep counting until upper limit is reached, count next value each next second and update counter
2- Count Down to Zero from any given number
3- Pause counter to any moment
4- Reset counter and stop
This counter example has its first part also. Previous full tutorial is here:
Counter with Infinite Count Up and Other Controls