Design comparison
Solution retrospective
The modal design programming is quite different than vanilla html and js, I use different React hooks to communicate props and functions aong components, including useContext, useCallback, useRef etc. Also the additional component when click event is also time-consuming, and I am quite pleased with the output.
What challenges did you encounter, and how did you overcome them?React may not work when same code work in vanilla js, also there may be untracebale warning or error, after learning and searching, they all got solved.
What specific areas of your project would you like help with?The project re-render when new reply component occurs, I want the same result without too many re-render, it can be done by using more useRef and useMemo, it requires more proficiency and time.
Community feedback
- @ajkun55Posted 4 months ago
Just updated solution to prevent re-render when click on reply, edit and delete, some progress after weeks
0
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