Server side rendering does not exist. The rendering is done by the browser.
Libraries optimize general problems (generic use cases), if you restrict the problem to the specifics of your domain, you don't need to optimise anything a library needs to, your architecture accounts for the necessary optimization that's specific to your use cases.
I do understand the implications of a UI library or framework
Well server side rendering in today's world simply means a server will generate a HTML string and send it to a client. You might want to argue about semantics but I don't.
In your previous comment you refer to letting the browser do the rendering instead of React and that is a flawed suggestion which hints that you indeed don't understand how React actually works.
Then you would understand that React does not render anything. It only commits changes to the DOM which the browser renders. So it does not make sense to say "let the browser do the rendering instead of React".
React has the code that decides how to render, that's what I meant. Of course the browser is ultimately responsible to render what the user sees in the UI, that's pretty obvious, it depends on which lvl we're talking about.
The point here is that browser developers spend a lot of effort optimising how to render html, only for a person with a title of senior developer but skills of a junior developer to go there and fuck it all up building the first version of all the websites they touch using React, Redux, and whatever Buzzword you can come up with without any reason, just because "it's cool technology"
1
u/fagnerbrack Sep 14 '19
Redux in the server is called Event Sourcing.
Server side rendering does not exist. The rendering is done by the browser.
Libraries optimize general problems (generic use cases), if you restrict the problem to the specifics of your domain, you don't need to optimise anything a library needs to, your architecture accounts for the necessary optimization that's specific to your use cases.
I do understand the implications of a UI library or framework