Huh? I'm unsure what you mean by "implementing UI on the server side". You write the same view logic that you would for the client and then just have the server compile it. SSR doesn't affect the way you write business logic if you don't want it to.
Well correct me if I’m wrong, but in my understanding SSR means using stuff like Jinja templating to render parametrised html on the backend, and sending it over to the UI. I’d much rather generate this html dynamically using react in a completely separate project, and simply use the backend to serve bundled react apps without touching any html
I’d much rather generate this html dynamically using react
You can easily use react to implement SSR
and simply use the backend to serve bundled react apps without touching any html
The point of SSR is to not require the client to bootstrap the whole app after downloading your bundle. This reduces time to the user interacting with the application.
2
u/dreadful_design Jul 29 '19
Huh? I'm unsure what you mean by "implementing UI on the server side". You write the same view logic that you would for the client and then just have the server compile it. SSR doesn't affect the way you write business logic if you don't want it to.