altbdoor 6 days ago

IMO this feels like Preact "render to string" with Express, though I might be oversimplifying things, and granted it wouldn't have all the niceties that React offers.

Feels like HTMX, feels like we've come full circle.

1
danabramov 6 days ago

In my checklist (https://overreacted.io/jsx-over-the-wire/#dans-async-ui-fram...), that would satisfy only (2), (3) if it supports async/await in components, and (4). It would not satisfy (1) or (5) because then you'd have to hydrate the components on the client, which you wouldn't be able to do with Preact if they had server-only logic.

altbdoor 5 days ago

Thanks for the reply Dan. That was a great write up, if I might add.

And yeap, you're right! If we need a lot more client side interactivity, just rendering JSX on server side won't cut it.