Interactive comments section us css grid, nextjs, typescript

Solution retrospective
Persisting data to localstorage in nextjs was a difficult task at the very last minute of the project's finalization. I got a solution from stackoverflow https://stackoverflow.com/questions/73271093/localstorage-resets-to-empty-on-refresh-in-nextjs. A very big thank you to the author of the solution.
I wish to know a better and best way to handle the CRUD operations for the comments and replies. 😂. They are similar but not identical.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Oluwatobi Anointing'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