Which one do you prefer in producion? Why?
We recently switched to Yarn in both development and production. Yarn is faster, and yarn.lock is a life saver. We ran into so many issues with npm and shrinkwrap didn't work reliably for us.
NPM because I don't think I need YARN as of now
I tend to use as few and small dependencies as possible, so my npm installs are really quick. Haven't tried yarn, it still lacks features I need.
During development I use yarn, but in prod I use npm. In prod I have a dockerfile and I don´t want to bloat it with stuff that I don´t need, so I just use npm.
Sid
ui at @codesandbox + building @ReactUI 🎨 design systems developer, wannabe designer
Reasons I voted for npm