Design comparison
SolutionDesign
Solution retrospective
Hi! This project was very interesting to develop. I decided to use useContext and useReducer hooks. Also, I used recursion to go through every reply, If anyone has an idea of a more optimized way that could have been done, feel free to leave a comment. Also, I developed it to be a comment tree like TikTok comments, starting from the second branch.
If you have any suggestions about anything, I would appreciate it! Thank you.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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