@visualdenniss
Posted
Hey there,
great job getting the functionality and design implemented successfully!
I've checked your React Code and it looks like you are using class components and what i've noticed is that the amount of line of code it required just to get a simple task done. My suggestion would be to use Functional React Components for a way shorter code and a fast way. You would only need to use a simple line to hold the state with a useState hook and simply render the components conditionally in a much concise way. Of couse this is a matter of preference and nothing wrong with your solution. But i was just surprised to see how much line of code it takes with class components, as i've also done the challenge but with functional components. So i thought i share my suggestion :)
Hope you find this feedback helpful!