Comment by asimovDev

1 day ago

Dropping React and going back to raw JavaScript next?

I am still mourning pre-React GitHub. Maybe rose-tinted glasses, but it was so pleasant to use

I would attribute that more to culture.

For example https://diffs.com/ is built in React and it's basically instant.

  • Ok I stand corrected. Some have mentioned the React layer is very thin it's mostly vanilla JS!

    I think my point still stands that, if MSFT cared, it would be fast. The issue is not the technology choice in this case.

    For example, look at their demo here: https://diffshub.com/oven-sh/bun/pull/30412

    It's way faster than GitHub and you check the network tab.

  • 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.

I don't think UI frameworks will go away any time soon. They solve a very different problem from React Native.