3 ms·
I wonder how much overhead does the rendering or react on server add ? If I have an API sever and then instead of calling those apis from client, I make all db
by random_kris 3y ago
I wonder how much overhead does the rendering or react on server add ?
If I have an API sever and then instead of calling those apis from client, I make all db calls on the server and then render the html.
How much of processing that was done was spent on rendering html.
Also I wonder how react server components and serverside rendering go with localfirst software?
I love localfirst web apps, they seem kinda incompatible with serverside apps
- mrcwinn 3y agoIn either case you have database calls (when calling an API, or when rendering from server). Adding network overhead (the subsequent request for data) is the last thing I'd want, if I could avoid it.
- toddmorey 3y agoYou can choose on a component basis what you render server-side. This project is a marketing site, for which client-side rendering never made sense.