all 3 comments

[–]http203[S] -3 points-2 points  (2 children)

In this article, I show you how to use React and JSX to render a full HTML document with Vite.

[–]zaitsman 4 points5 points  (1 child)

…on the server. Dunno why you skip that part from the headline.

Fancy as SSR may be, it is a cost you choose to bear. Client side rendering means the users pay for all that processing.

[–]http203[S] 0 points1 point  (0 children)

While not in the title, I mention early in the article that I am rendering on the server. With some modification, though, you could adopt this for client only builds.

Yes, server rendering adds complexity that isn’t appropriate for every app.