Deleting an object in Angular NGXS

Issue I have a problem deleting a comment on my post. How would you do it? I’m using the Angular NGXS state management. Pls see this link CLICK THIS LINK onDeleteComment(commentId: number){ this.store.dispatch(new DeleteComment(commentId)); } @Action(DeleteComment) deleteComment( ctx: StateContext<PostStateModel>, {

Continue reading