Why do people use Frameworks?

Why is Web Development so Bloated in the modern day? So many frameworks having bulky listeners and event handlers running on top of each other.

Attached: 1518089058139.jpg (2048x1365, 1.33M)

Webdev is a shitshow. Just avoid it at all costs.

Because google and facebook want to prevent any potential competitors from arising by making everybody jump through expensive and needless hoops. If other peoples websites are slow and clunky because they use a framework that you 'gave away to the community' then they won't get used.

...plus, idiot managers who don't know jack shit about quality engineering will mandate the use of frameworks because they came from a successful company and they 'increase productivity' (Never any stats given to prove that tho). Nevermind that those companies don't use them themselves or shape them specifically for their own business model.

i hate those faggots who use js based frameworks to make layouts. there are lots of badly working webpages which doesn't even load without first downloading 10 megs of js from 5+ different domains.

Because it saves time for developing and time is more valuable than theorethical benefits debloating brings since 99% of users are okay with bloat anyway.

Does it save time? really? Who told you that?

of course it saves time when you have no need to code anything. just build your shite with templates and start using your brand new content management system. it's irrelevant that it may take lots of computing power from server and client. you can always boy newer apple product.

Then you spend a week in dependancy hell when you want to upgrade framework version because of an app breaking bug then have to delve into the innards of the new version because you needed a plugin that's no longer supported because what was best practice last week is now not and you have to write workarounds cos the theme you used and the CEO wants to keep as users won't know how to use the layout redesign...

Still sound like less work?

don't upgrade and hope no one will find vulnerabilities in your system

AFAIK Facebook makes no frameworks.
They make (highly optimized) libraries like React and Immutable.

Point is, anyone who's used a framework for more than a trivial to-do list page knows the time saving 'sales point' is utter bullshit.

The other chief reason we're told is it'll make the web more consistent. Phased another way "Don't make anything novel or distinctive, that's for us to do"

>it saves time for developing

Only as long as you stay within the confines of that the framework allows you to do.

As soon as you step outside the framework's strictly controlled garden development times explodes as you have to hack your way around all the stuff the framework wants to stop you from doing.

Is a 'library' that if you use it in the way the documentation says, has to be used on every page, dictates the coding style, build process and bad design patterns like JSX that almost exactly resemble concepts that were *TAKEN OUT* from browsers.

A library that will make your site's SEO significantly harder and your app much larger and more difficult to deploy.

React is a framework, no matter what it's creators call it.

Which *always* happens on any non trivial website

>has to be used on every page

Not true at all in the case of React.
HTML container > JSX > plain HTML element = perfectly fine.
You also don't have to use it with JSX at all if you don't like it.

people choose those framework because it's enough for them

In fact React is not needed at all.

Anyway, too many companies are only hiring for React jobs so it's just plain not true that there's any choice in avoiding it, despite it being detremental to the projects that use it.

React, Angular and frameworks in general are parasites

Until one day management decides something else should be added and then the whole project is fucked. - happens all the time.

They think it will be, until it isn't. When they find that out, it's already too late

Just start your own company, like I did.

I use React though, because I want my company to be successful and not some pile of shitcode made by aspies who think they know better.

Is the company you 'started' called Facebook by any chance?

Or maybe some guy in a hoody who writes in PHP thinks he knows better?

let's pin this to Jow Forums please

No, it's just a small software company with me and 3 employees.

Ryan? What are you doing dude its like 9am take it easy and relax this is no time to argue with retards on Jow Forums about webdev

frameworks are there to make your life easier, under the condition that you know how to use them

ITT: Mostly people who've never used a JS framework or had a job.

Most of you are confusing bloated amounts of JS (10 different CDN's, 50 different spyware script imports) with the frameworks themselves. A well coded React PWA will run lightning fast unless it's filled with a shitton of spyware.