3 ms·
Using npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new
by rahilsondhi 9y ago
Using npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new teammate will install different versions. With yarn, there is a yarn.lock to make sure everyone gets the same versions when they run `yarn install`.
Also, yarn is way faster.
- paulddraper 9y agoThere is npm shrinkwrap, but the yarn folks will tell you yarn is better.
- sergiotapia 9y agoThere is ${some_random_lib} to solve this problem? Yawn! Use Yarn, it comes baked in.
- eggie5 9y agoThanks for the analogy. I am now update-to-date w/ 3 years of JS churn :)