You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Voting is only implemented by useState hook on any comment. It should be stored in database and can keep track which person is already upvoted or not.
Describe the solution you'd like
By creating reducer and by writing handler of upvoting and downvoting in store can give us access to vote dynamically and can show real result of votes
Describe alternatives you've considered
Interacting with database in cl_comments table.
Additional context
Upvotes and downvotes should be dynamic with proper logic that user vote counts only once.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Voting is only implemented by useState hook on any comment. It should be stored in database and can keep track which person is already upvoted or not.
Describe the solution you'd like
By creating reducer and by writing handler of upvoting and downvoting in store can give us access to vote dynamically and can show real result of votes
Describe alternatives you've considered
Interacting with database in cl_comments table.
Additional context
Upvotes and downvotes should be dynamic with proper logic that user vote counts only once.
The text was updated successfully, but these errors were encountered: