[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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1766980796920657.gif (1.51 MB, 480x270)
1.51 MB
1.51 MB GIF
i still dont get it.
>>
>>107843316
>btw imagine the scent of perfume and sexual pheromones when sniffing Sento chest
>>
>>107843316
esl kun...
>>
>>107843316
JavaScript.
It solves JavaScript.
>>
>>107843316
booba
>>
>lust provoking image
>time wasting question
>>
>>107843316
solves the disconnect between what the web used to be (hypermedia document viewer) and what it is now (highly interactive "apps" powered by javascript because we haven't moved on from anything)

by making Javascript not dogshit and pain to write due to its insanely imperative nature and wild semantics and retarded API design choices.
I mean there was a reason why jQuery was popular, and not just due to it solving cross-browser compatibilities of the early age...
But mostly for its declarative nature which also makes it easier to manage state, which is ultimately the current "problem" of webniggers.

Anyways you shouldn't be using React now though. Basically any other FOTM framework is better (Solid, Svelte, Vue probably, Qwik...)
>>
>>107843316
it solves the problem of creating a million jobs for useless eaters. now anybody can make a web app, so learn to code o algo
>>
>>107843316
UI is a representation of current state. When there's state change, you need to change the UI to reflect state change.

You can do that incrementally -- for any possible kind of state change, calculate exactly which UI components need to be updated and how. That's a lot of work, and very few people are autistic enough to get it right.

Or, you can define UI as a function of state. Any time there's a state change, recompute the whole UI. That is much simpler to program. Of course, performance is a huge issue now, hopefully a framework can help here.

BTW it is only needed for complex interactive UIs. Many UIs are rather static and it's simpler to add a few incremental event handler where needed, directly operating on DOM. But frontend fags insist on making everything a single page application with fat frameworks; usability actually degrades, often without proper bookmarking and back/forth navigation. Well, they are stupid, that's why they can't find a real job.



[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.