Interactive Comments Section using React

Solution retrospective
How did you make this code DRY? The components for Reply and Comment were nearly identical, but it was so confusing to write the logic for the actions without two separate components.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Sara'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