Interactive Comments built with Chakra UI

Solution retrospective
I don't think I was using the useState hook correctly so, please, any commentary and advice is will be appreciated.
The Sorting of Comments was a Real Pain in my Butt* It works (Thank God) but I feel it could have been done a little better. Just couldn't figure it out.
I used functions to build screen specific layouts for mobile and desktop as a result some of the code is duplicated with slight changes in the order of the lines but essentially the same code I don't think this was the best way to do it. but, it was a way to get around it.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Karabo Sambo's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord