Hacker News new | ask | show | jobs
by mr_toad 3094 days ago
> Maybe we should stop running code from websites.

Which would mean that even something as simple as an up-vote on a comment would require a full page refresh from the server. The lag would probably kill most social media.

You could be on to something there.

1 comments

> as simple as an up-vote on a comment would require a full page refresh

There are certainly ways to solve this declaratively.

One of them being making all form submits asynchronous and not reload the entire page. Or the server sends only the bytes that it changes back.