jhamlet / svg-react-loader

Webpack SVG to React Component Loader
MIT License
559 stars 82 forks source link

Loader have React depreceted warnings #66

Closed konstantin24121 closed 7 years ago

konstantin24121 commented 7 years ago

React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

ReactBlog

I think we must fix it, or loader will not work with React 16.0

https://github.com/jhamlet/svg-react-loader/blob/master/utility/template.txt#L4

hazratgs commented 7 years ago

When will this bug be fixed?

konstantin24121 commented 7 years ago

@hazratgs When owner merge #67 i mean. In my project i use fork

IanVS commented 6 years ago

Ergh, with no changelog and no merged PRs, it's pretty difficult to tell what minimum version I need to upgrade to in order to avoid the deprecation warnings.