The Front End Development Libraries Certification by FCC includes a test to develop a Javascript clock to be used in a simple implementation of the duties load Pomodoro 25 methodology. It is my version submitted.
The FreeCodeCamp.org test of this piece was a headache. I made a super-fast solution, but when the test runs only achieves 15/29. And what happens? I used React 18.1. Outside the test, all user stories run well. Then, for the next two weeks, I reviewed a lot of theories to handle timers, fit the gaps, enhance performance, and rewrite times.
All middle approaches were clean. The code and the accuracy were perfect. As a result, I got the same fucking: 15/29.
Then, I downgraded the React version, and all tests were a success!!!
The FreeCodeCamp.org test for 25 x 5 clock doesn't support React 18
To look at this work, visit it on CodePen: https://codepen.io/jam65st/full/JjpVXpd
Happy coding, and enjoy my approach.
J. A. Mendez
Senior Front End Developer |
Researcher |
Data Analyst |
Filmmaker |
Photographer |
Writer