Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Object.observe withdrawn from TC39. Parent comment
So before proxies, we used to do it as:
await server.rpc.run("methodName", [argumentOne, argumentTwo])
await server.rpc.methodName(one, two)
There are no comments on this comment yet.
So before proxies, we used to do it as:
Now, we just do: The proxy traps that method call and returns a promise that runs that on the server. It's very slick and has made our code a lot more readable.