dustingetz / react-cursor

Immutable state for React.js
1.03k stars 50 forks source link

warning using React 14 dev build #70

Closed dustingetz closed 8 years ago

lijunle commented 9 years ago

What is this issue about?

dustingetz commented 9 years ago

Warning: require('react/addons') is deprecated. Access using require('react-addons-{addon}') instead.

Warning is only when used in webpack configuration

lijunle commented 9 years ago

The react-addons-{addons} can be a drop-in replacement. No other code needs to touch.

dustingetz commented 9 years ago

1.x should remain backwards compatible for now so I will just leave the warning in that branch I suppose

On Friday, November 13, 2015, Junle Li notifications@github.com wrote:

The react-addons-{addons} can be a drop-in replacement. No other code needs to touch.

— Reply to this email directly or view it on GitHub https://github.com/dustingetz/react-cursor/issues/70#issuecomment-156508385 .

dustingetz commented 8 years ago

Fixed in 2.0-alpha.4