News for hackers. Stuff that matters.
Re:Yarn – A new package manager for JavaScript by hyperpape on Tuesday October 11, 2016 @07:56PM (#12689457)
That will work for lodash, because it's just a bag of functions. But anything that creates objects that are passed outside of a single module could have problems.

There was actually a high profile bug when someone ended up with two versions of react included in the same page: https://github.com/facebook/react/issues/1939.

Re:Yarn – A new package manager for JavaScript by jessaustin on Tuesday October 11, 2016 @09:53PM (#12689910)
That seems to be a slightly different situation? As the issue poster described, a single page had invoked two copies of React, both of which assumed ownership of a particular "global" variable. (Not really global, but a particular member of a global.)

I'm not a React expert, but I don't see why that situation would only affect multiple React copies with different versions?