Submitted over 1 year ago
Responsive comment section, using REST API (JSON-SERVER) and RTK Query
@Artebah
Design comparison
SolutionDesign
Solution retrospective
I found difficult to send requests because it's impossible to change specific "reply" in data, json-server doesn't support changing nested data (if you have such structure: comments/1/reply, you won't be able to change this reply directly, instead you have to change full comment object and change the reply in there)
Moreover json-server can't work on hosting because it's the fake server, therefore I don't have hosting to watch result, nevertheless you can clone my code from github and watch result :)
Community feedback
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