Submitted over 2 years agoA solution to the Interactive comments section challenge
Interactive Comment Section using Next and TypeScript
next, react, typescript, tailwind-css
@taufiqmahdi

Solution retrospective
- What do you think of my folder structuring? on components and interfaces.
- What do you think of my ability to componentizing? Also is it already a good practice? Since I know I reused components for both Comment and Reply so I have to outsmart the type properties for the component.
- What do you think of my modularization on the functions? I think I can do better but it keeps throwing error so I revert it back.
- What do you think of my state handling and passing it to child component? is already the best practice?
- Because this project only use Local Storage and use state in the parent page, is it okay to directly use client component? Or is there a way to make it into server component?
- Do you think I have done good on determining the type of the state and variable used?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Taufiq'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