Dont use require('react/lib/*') in examples & docs
These are internal and implementation details of how React builds for npm. We're going to deprecate them. merge is now simply Object.assign and copyProperties is a simple for in (and can be replaced with Object.assign)
What's your position on this now, with the release of 0.12 with deprecation warnings for merge/copyProperties and the provision of Object.assign in react/lib? Is it okay for the examples to simply be updated to use react/lib/Object.assign instead, or will even that be very quickly moved out of React entirely?
My understanding is that FB is working on exposing Object.assign in a way that can be shared across projects, not just within React. But we're not there yet. So I am thinking about using Sindre's npm module for Object.assign until then.
Cool, I'll look into updating my PR sometime later. It'd also be nice if we could also get Invariant to be shared when things are being bundled up.
Done: https://github.com/facebook/flux/pull/91