is the extra action added to a toggle button happens before the toggling itself?
I use the toggle button to like and dislike posts (establishing relationship between post to user) which works perfectly fine.
In addition I have a desired outcome of this like toggle button to add or remove like from the “like counter” property of the post depending on if the its liked or not prior to the “like counter” action.
right now it works fine with disliking but not with liking. is the action added to the toggle happens before the toggling itself?