It makes some sense to have an upvote be a form that posts somewhere and the response of which is a redirect (maybe a 307?) back to the page you’re on and then the progressive JavaScript enhancement would be to perform the request asynchronously instead of redirecting.
It makes sense because adding an upvote is the same as adding other form data to a database semantically so really should be treated the same way.
It makes sense because adding an upvote is the same as adding other form data to a database semantically so really should be treated the same way.