top | item 45525625

(no title)

molszanski | 4 months ago

Try Astro my friend. React SSR with none of that next bs

discuss

order

alsiola|4 months ago

Used Astro for a pro bono project. Found it fantastic, well documented, provides solutions for the hard parts, gets out of the way for the easy parts. Documentation is well written, but I find I don't need it much because mostly it works how I would expect.

fuzzy_biscuit|4 months ago

Astro is not tied to React. You can choose your framework.

WA|4 months ago

You lost me at React SSR. That is part of the complexity bs. React is a lib for mapping state to the DOM. There's no DOM on the server. So React on the server is 95% useless for that purpose and hence, overengineered to create a bit of HTML and send it down the wire.

I like the simplicity of Hono and use their html helper to write good old HTML that is send to the client.

molszanski|4 months ago

You can render html with astro without react. Plain old html templates with options

deepriverfish|4 months ago

how do you manage the application state with Hono? I saw their home page and it didn't mention anything about it.

throw-10-8|4 months ago

This is the vercelization of react peeking through, that people even associate react with ssr is an anti-pattern.

throw-10-8|4 months ago

I've heard good things, what would you say is the killer reasons to justify being the nodejs ecosystem vs something more purpose built for ssr like php?

molszanski|4 months ago

As easy as php for simple stuff. And can do complex SPA stuff.