Hambach
Thomas

2015-03-25 08:11:18

React cannot find module copyProperties

Error: Cannot find module 'react/lib/copyProperties'

Having a headache with this one? Well, so was copyProperties has been removed and replaced by objectAssign.

So instead of this
var copyProperties = require('react/lib/copyProperties');


You want to do this
var objectAssign = require('react/lib/Object.assign');


Implementation does not change. Luckily.