News for hackers. Stuff that matters.
Re:Installed electron / react, it has 1861 dependencies. Thi... by emptyparadise on Thursday July 15, 2021 @05:01AM (#27842702)
Has anything improved at all since the last time an article like this was posted?
Re:Installed electron / react, it has 1861 dependencies. Thi... by ColinEberhardt on Thursday July 15, 2021 @05:02AM (#27842708)
No, my feeling is that it is getting worse. Dependency graphs are getting bigger, our tooling is getting more complex.

https://blog.scottlogic.com/2020/12/22/software-crisis.html

Re:Installed electron / react, it has 1861 dependencies. Thi... by wokwokwok on Thursday July 15, 2021 @05:33AM (#27842896)
I mean… it’s easy to complain right?

Everyone wants a free ride: beautiful modern UI, fast, easy to use, cross platform, free.

If it’s so bad, why is it getting worse?

…because people like free stuff, and no one actually wants either a) a crappier (but better tooled) solution or b) to pay for a better solution.

Its not that no one cares about these hard problems… it’s just that no one actually cares enough to be more than complain about it for free.

It is what it is.

The chances that it will magically resolve itself without a major shift in how developers build things is zero.

The problem isn’t the frameworks.

It’s that people use them.

Re:Installed electron / react, it has 1861 dependencies. Thi... by hsn915 on Thursday July 15, 2021 @06:27AM (#27843215)
You know what's easier than complaining? Finding excuses.

Windows keeps getting worse and worse. People pay money for it, and yet Microsoft is putting ads in it.

So clearly the problem is not limited to people wanting "free" stuff.

Re:Installed electron / react, it has 1861 dependencies. Thi... by johannessjoberg on Thursday July 15, 2021 @10:42AM (#27845331)
It's also a matter of choice when consuming libraries like expressjs, which the linked article referes to.

For example, hapi (https://hapi.dev/), a feature comparable web server framework to express, has zero external dependecies.

There are a lot of responsible maintainers of great packages in the node community which keep dependencies to a minimum. It's up to the consumers to use and value them, not just default to the likes of express.

Re:Installed electron / react, it has 1861 dependencies. Thi... by hsn915 on Thursday July 15, 2021 @06:25AM (#27843209)
Not much ..

There is esbuild which help eliminate webpack hell, but most shops still use "Create-React-App".

There are some lite weight alternatives to React (like Preact), but most shops aren't using them yet.

I can't really think of anything else that could count as an improvement.