News for hackers. Stuff that matters.
Re:Snowpack: Build a web application without a bundler by debaserab2 on Wednesday January 08, 2020 @07:31PM (#21997326)
> I however stand by my words that most React/Vue/Angular front-end developers in most companies are absolutely unnecessary and are actively detrimental to the project by introducing complexity to justify their position.

I strongly disagree; most of the projects that I worked on a decade ago that lasted more than a few months ended up with ad-hoc frameworks or conventions implemented in vanilla JS or jQuery that varied wildly in quality and changed frequently through the lifespan of the project. In my experience React/Vue/Angular with their generally well engineered and thought-out principles have resulted in a huge boon for productivity for long term projects in a team environment.

> Most projects do not have any requirements like real-time UIs

Whose "most projects" are we talking about here? Yours?

Re:Snowpack: Build a web application without a bundler by Nextgrid on Wednesday January 08, 2020 @07:56PM (#21997465)
> Whose "most projects" are we talking about here?

Go on a job board, search for React/Vue/Your-Favorite-SPA-framework, go to their website and then see if there are any features that would actually justify an SPA.

Some examples: the Airbnb website, the New Reddit, etc.

Re:Snowpack: Build a web application without a bundler by true_religion on Thursday January 09, 2020 @06:03AM (#22000169)
I would use reddit as a counter example. Sure some the new features could be built without an SPA, but it would be much harder to do so.

They have a full wysgi for theming built in, a real time chat app, a video sharing app, multiple messaging platforms, and methods of bundling multiple subreddits together.

They added all this really fast, due to the nature of the platform being an SPA.

I have the same issue at work. Any given feature in isolation could be done simply as a jQuery plugin, but together the only way to make it seamless is an SPA.

Re:Snowpack: Build a web application without a bundler by Nextgrid on Thursday January 09, 2020 @11:15AM (#22002379)
Did you not compare how much faster & more usable their old platform is compared to the new one? The new one is painful to use.
Re:Snowpack: Build a web application without a bundler by true_religion on Thursday January 09, 2020 @02:28PM (#22004609)
It used to be true. Their first few months of the SPA was really rough on the UX front, but it really improved since then.

They have a good design staff, but there was so many minor decisions made over the years that no knew exactly what was a necessary feature of the UI and what was just fluff.

They needed some real world testing to get a better design.

Re:Snowpack: Build a web application without a bundler by brylie on Thursday January 09, 2020 @02:32PM (#22004651)
Relatedly:

If we don't adopt a framework we end up building one - increasingly of a patchwork of pieces fitting a bit roughly together.