tomchentw / react-toastr

React.js toastr component
https://tomchentw.github.io/react-toastr/
MIT License
619 stars 112 forks source link

fixed console errors #103

Closed alilland closed 7 years ago

alilland commented 7 years ago

Prop types are no longer called against the main React object (depricated). createClass is depricated as well, so used the dropin library to clear those console errors as well.

unfortunately I use JS Standard Linter (its very opinionated) I was going through deleting un necessary commas, double quotes and semi-colons while I was reading your code.

tomchentw commented 7 years ago

Sorry, the code base in react-toast is definitely opinionated, and you should use it via node_modules, which should be excluded by your custom linters.