Closed goldensunliu closed 8 years ago
For visibility #79 Plans to deal with this issue.
is this ready to be closed?
I still get several errors with react 0.14 Warning: require('react/addons') is deprecated. Access using require('react-addons-{addon}') DateRangePicker.js:59 Uncaught TypeError: _reactAddons2.default.initializeTouchEvents is not a function
@nikulinsanya are you sure you have done a clean 'npm install'? You will see those if your react dependency is out dated.
This should be resolved now, thanks to the v1.0.0 release
on https://github.com/onefinestay/react-daterange-picker/blob/master/src/DateRangePicker.jsx#L22
is called
with React v 0.14