Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive Comments Section developed with React.js

#framer-motion#react#accessibility
dannxvc 180

@dannxvc

Desktop design screenshot for the Interactive comments section coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

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 GitHub
Discord logo

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