Good evening everonel,
I’ve been having some issues creating a like button for my app. (click to like, active icon when already liked and click to unlike. something similar to instagram, facebook, etc…)
Attached is a screenshot of my data structure: Likes -> userId -> communityId
I’ve tried several methods but with no success.
I was wondering if anyone out there has a tutorial, codepen or just a small description of a possible solution, I’d really appreciate it.
Greetings from Canada!