Refactor CreateComments functionality
Created by: Tirokk
Authored by mattwr18 Merged
- update apollo cache on successful mutation
- remove global event listener
- avoid refetch Post to update CommentsList
- return comment with its author from resolver
🍰 Pullrequest
Issues
- fixes #900 (closed)
Todo
-
Should I refactor the backend tests now that we return the comment with its author?