I'm building a prize competitions website and have a question regarding multiple setIntervals.
I currently have the following on the home page:
Four products showing a countdown timer of when the competition will end.
I have a page named "Competitions" that lists all active competitions and it's paginated so shows 8 competitions per page.
Would there be any performance issues if I were to have a timer for every single product? This could easily be hundreds of products.
Just to add, the way I have done this is to create an array named timer and then push each countdown timer into it. Currently that array only holds 4 countdown timers.
Just want to know how scalable this is.