Thanks for the exercise! It helped me to prepare for an upcoming interview. I made this version with some variations ;) codepen.io/jusrecondo/pen/GRBxPJv
If I was the interviewer, I would ask you about the asynchronous setSquares function. Also would be nice to refactor isX and isThereWinner to derived state
This was really good practice for me, do you have any other react interview coding challenges like this one? What level would you say this question would be good for?
Thanks for the exercise!
It helped me to prepare for an upcoming interview.
I made this version with some variations ;)
codepen.io/jusrecondo/pen/GRBxPJv
glad to hear that my post helped out in some way. Good luck on your upcoming interview.
If I was the interviewer, I would ask you about the asynchronous setSquares function. Also would be nice to refactor isX and isThereWinner to derived state
nice follow up questions. thanks for sharing.
Where you asked to do the same challenge on your previous job interviews?
Should this coding challenge even be used when screening out candidates?
This was really good practice for me, do you have any other react interview coding challenges like this one? What level would you say this question would be good for?
Hi Veronica,
here is a good one that I get a lot of great feedback - dev.to/frontendengineer/10-reactjs...
I would say this is a good question for senior devs/engineers
Great , thanks for Information. Have you got group in Telegram or ... that we can join and ask our Problems ? If Not, we can do this together😃
How the previous choices are being stored ?
on the handleClick -
setSquares(squares)