Skip to content
#

hackernews

Here are 267 public repositories matching this topic...

stemmlerjs
stemmlerjs commented Oct 15, 2019

When someone changes their vote on a comment or post, we need to update the view.

Currently, we have to refresh the browser to see the changes.

On upvote:

  • if the user hasn't already upvoted, it should be +1
  • if the user already upvoted, it should stay the same
  • if the user downvoted, it should + 1

On downvote:

  • if the user hasn't already downvoted, it should be -1
  • if t

Improve this page

Add a description, image, and links to the hackernews topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hackernews topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.