[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Kwabjs.png (140 KB, 1206x1376)
140 KB
140 KB PNG
Client Side Rendering-Chads, why can't we stop winning?
>>
>>107496789
This incomprehensible, bug-riddled bloatware is how online banking works.
Boy am I glad I'm poor
>>
>>107496971
>is how online banking works
It doesn't have to, unironically skill issue
Also banking apps aren't server driven either
>>
>>107496981
I checked the banks I use, they use react. And I expect most nowadays do, or some JSP if they're old.
>>
>>107497019
React ≠ SSR retard
>>
running scripting language interpreters on the backend always seemed kind of retarded to me. a single Rust binary and a gaming PC scales much better than some python slop running in Kubernetes and costs less, too
>>
>>107497105
Rust is a lunatic choice for anything that needs availability.
.unwrap
>>
>>107497082
this was specifically from react's server rendered components
>>
>>107497082
React was the cause of this CVE retard
>>
one of the many reasons vue is better than react
it has taste, something incomprehensible for meta drones
>>
>>107496789
handwritten backend with rust and axum, meme vibecoded solidjs frontend with opencode + sonnet.

life is good.
>>
>>107497202
>react's server rendered components
Notice how you changed from react to this, disingenuous retard?
>>107497238
No it wasn't, it was in react SERVER COMPONENTS and nextjs. Nextjs is in fact much more popular than the former.
>>
>>107497285
react is just a library that generates elements whether you do it on the server or the client it's still react
>>
>>107497285
>No it wasn't, it was in react ...
lmao
retard
It's all the same bloatware, it makes no difference which specific bit of garbage they are using, why are you arguing
>>
>>107497328
There is a very big difference between outputting an html string on the server and creating and tracking DOM elements on the client.

And i am sure you know that, you are just being dishonest.
Why you are dishonest... nobody knows... there is nothing you get out of this
>>
>>107497344
>bro it makes no difference if you use an optional dependency or not
Retard, probably didn't even understand OPs post lmao
>>
>>107497355
i hate all frontend frameworks i don't think they should exist at all they are entirely pointless
>>
>>107497344
The CVE is specifically about a vulnerability in react server components, not react proper
>>
>>107497186
>t. never had to search exceptionStack fields in OpenSearch to diagnose the gorillion-th failure mode of some python script called a "backend"
>>
>>107497082
There is SSR react now retard. Has been for 5 years now.
>>
File: 1765251515150786.jpg (115 KB, 1024x1008)
115 KB
115 KB JPG
>>107496789
>Client Side Rendering
As opposed to what?
>banking apps aren't server driven
What do you think you are communicating with when you use a banking app?
God I hate zoomers
>>
>>107498046
do you actually know anything about web dev? CSR and SSR are widely used terms in the industry. those terms were introduced a long time ago, in fact. they have almost nothing to do with whether a backend server that handles business logic exists
>>
>>107499030
NTA but I'm a web dev with a 20k+ LoC javascript codebase and I still have no idea what people mean when they say "server side rendering"
>>
>>107499097
>I still have no idea what people mean when they say "server side rendering"

import express from "express";
import { renderToString } from "react-dom/server";
import App from "somewhere";

const app = express();

app.get("*", (_, res) => res.send(renderToString(<App />)));
app.listen(8080);


React has supported this for about a decade now. What's new (actually, 5 years old now) is the ability to render to a Node stream, so that you can send HTML as soon as possible.

>inb4 "why bother with this?"
there isn't really a reason. The average B2B SaaS is behind a login wall anyway and nobody besides other web devs cares about "first contentful paint"
>>
>>107499030
I won't conform to your gay industry language when it rewrites definitions of words like "server", sorry
>>
>>107499509
It's retarded SEO metrics which matter of you're an econmerce site at the whims of Jewgle but beyond that yeah this shit doesn't matter and will only make your project probably less secure, esoteric, and more of a bitch to maintain for nearly no real upside

It's all marketing bullshit all the way though and I've never seen or read anything that convinced me otherwise
>>
>>107500337
This
>>
why does everything use react nowadays? Is it really that hard to change a variable in normal js?
>>
All rendering is client side
Putting a text inside an html tag ain't rendering
>>
>>107501443
>why does everything use react nowadays?
It's easy for making UIs that look clean and consistent
>>
>>107501480
but in web dev world, it is
>>
>>107500337
Web browsers care, because they artifically delay page loads to avoid a flashing white between receiving the first html and loading a script or css.

That metric exists to force you to at least have something to show, and if its a static one-color background in the same color as the page will be when fully loaded.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.