| ▲ | vendiddy 6 hours ago | |||||||
I would attribute that more to culture. For example https://diffs.com/ is built in React and it's basically instant. | ||||||||
| ▲ | bob1029 5 hours ago | parent | next [-] | |||||||
I would attribute it to physics. If the entire page is rendered on the server, the information required to do so is presumably reasonably approximate (same datacenter). If most of the page is rendered on the client, the information needs to be pulled in from arbitrary physical distances. At some point the engineering really is this simple. | ||||||||
| ||||||||
| ▲ | vmg12 4 hours ago | parent | prev | next [-] | |||||||
You'd be wrong, diffs is vanilla js with a react wrapper. | ||||||||
| ▲ | mike_hearn 5 hours ago | parent | prev [-] | |||||||
Is it? I looked at the source but it doesn't appear to be react. It has a React API but also a "vanilla js" API and when I looked at the code it seems to be doing everything by hand: https://github.com/pierrecomputer/pierre/blob/main/packages/... ... albeit using React inspired terminology like props and hydration. | ||||||||