If a user likes a post, his hypi id is linked with the like array of the post. This means on the client-side, there is a check if the user id exists or not in the Likes array right? Or any other way?
Yes, that is the only way I can think of.
If a user likes a post, his hypi id is linked with the like array of the post. This means on the client-side, there is a check if the user id exists or not in the Likes array right? Or any other way?
Yes, that is the only way I can think of.