News for hackers. Stuff that matters.
Re:Vue 3 as the New Default by topicseed on Monday February 07, 2022 @05:21PM (#30252190)
NPM hell is what got me to move from beloved TypeScript to Golang. Coming back to pet projects a few months later was true excruciating pain every single time.

Today, it's Go in the backend and Svelte in the frontend, or vanilla JS for very small and simple tools.

Re:Vue 3 as the New Default by ashishb on Monday February 07, 2022 @05:40PM (#30252419)
As someone who programs on backend, frontend, and Android apps, I can't agree more. Javascript frameworks and NPM hell is terrible. You rarely have the problems in Go/Kotlin/Java world that are considered normal in the NPM world.
Re:Vue 3 as the New Default by adevx on Monday February 07, 2022 @06:08PM (#30252770)
I never understood this npm hell reference people are speaking off. Is this just the drama of updating an outdated inherited project? I've been working with node/npm since the early days and don't consider it worse than what you find in Java, Python or PHP.
Re:Vue 3 as the New Default by ashishb on Monday February 07, 2022 @06:26PM (#30252966)
The latest version of webpack removed polyfill, this broke another dependency, and i had to downgrade the react version to fix that!

Nothing like this did I ever see in the go or kotlin world.

Re:Vue 3 as the New Default by qmmmur on Monday February 07, 2022 @06:51PM (#30253215)
If you depend on a specific behaviour why dont you pin your react version?
Re:Vue 3 as the New Default by ashishb on Monday February 07, 2022 @07:42PM (#30253592)
I learnt that much later. Apparently the current version of webpack that you get by following the official react project setup is missing certain polyfills!
Re:Vue 3 as the New Default by jbreckmckye on Monday February 07, 2022 @07:06PM (#30253340)
Couldn't you have pinned your dependency and / or installed from a lockfile?
Re:Vue 3 as the New Default by jrib on Monday February 07, 2022 @05:54PM (#30252600)
are you leveraging a framework on the backend for Go?