Tapas Adhikary
Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source
⭐ Introduction React(aka ReactJS) is a library that builds declarative and component-based user interfaces. With the inclusion of functional components and hooks, it is even more potent in reusability, better code organization, and data flow. Web dev...
blog.greenroots.info11 min read
Hello how would I make this dynamic for example get the targetdate from an API I tried but couldn't get it to work
The only problem with this solution is that the interval, even after getting expired, is still going on. We may have to implement a logic around that as well.
Thanks for this article! You explain things in a simple way. Enjoyed reading it!
Thanks for sharing. You explained it very well. Instead of using setInterval() use requestAnimationFrame() method for better performance.
To me, the icing of this article is the intricate little details you've injected which are valuable to understand (flow of props, component modularity etc etc). I hope nobody overlooks those :D Great work Tapas!
Paul Felgentreff
Ahhh this article was good to read. Did you now there it a time html tag you could use? And add the duration like so: dateTime="PT4H18M3S"