Hacker News new | ask | show | jobs
by inform880 2493 days ago
Using yarn, without hooks, and giving Google even more data.
2 comments

It sounds like you have some opinions on these things but didn't say what it is. Are those bad? Why?
Yarn is generally regarded as not necessary anymore: https://medium.com/@vincentnewkirk/npm-vs-yarn-2019-e88757b1...

While hooks are generally regarded as faster, classes are actually much closer than previously though. But they still get beat out in the benchmarks: https://medium.com/@dan_abramov/this-benchmark-is-indeed-fla...

Firebase was bought by Google, which while there hasn't been anything in the news regarding Firebase, Google still collects and shares data. https://en.wikipedia.org/wiki/Privacy_concerns_regarding_Goo...

Just as a note, twice now you've said the word "generally" and provided the same link, one person's blog representing his own opinion. That's not what the word "generally" means.

You can say "one person has the opinion that Yarn is not required anymore". But saying "generally" means it's common knowledge and most people would agree with that opinion. That doesn't seem to be the case here.

"Generally" seems to be a stretch, since it's easy to find recommendations to the contrary: https://www.ryadel.com/en/yarn-vs-npm-pnpm-2019/#Verdict
You should read the last 3 paragraphs of Dan's post
Would be interested to know the problem using Yarn, I know npm has caught up, but PnP looks nice.
Yarn is generally regarded as not necessary anymore: https://medium.com/@vincentnewkirk/npm-vs-yarn-2019-e88757b1...
I don’t think this is true. It just depends on what your requirements are. If you use monorepos anywhere Yarn is a better default everywhere so you use its cache. PnP should solve one more huge problem in the near future too.