I created 5th project using hooks and react version 18.1,
I think I nearly completed all the tests except #Alarm section but the tests have shown me failure
In #Content test; I checked ID’s of html tags they are all there. But giving me a false result of #time-left is not available.
In the #Timer test; showing failure about timer did not reach 0. And not checks other ones as well. Here is the link of codepen: 25+5 Clock.
Thanks for your compliment Sboonny
And thank you for your reply, I tried that now but tests failing with Strict Mode render method also. I will be trying to downgrade to 17th version of react to see if it works (as the github link suggests) I hope its easy to do so .
It was nice to work with hooks which I mostly liked useReducer; helped me to hold a good state of the program
useReducer hook helped me with; not using redux for states
I think React is getting somewhere with this state and hook methods. Otherwise it is hard to maintain the one way flow if one wants to upgrade the program again and again.
Is there something I can help with the tests? Because this feels like going to take too long, the people who is solving this problem is not enough (4 people last message was 17 days ago). Or should I start the same project with older version again?
I tried to use setInterval method with returning cancel tests was still slow(without accurateInterval method), I used setInterval method without a returning cancel function but the tests are still slow.
Time-left is not formatted correctly error still shows up.