Closed julienbachmann closed 7 years ago
@julienbachmann Thank you for your comment. This has to be handled ASAP in order for the toastr to be functional with latest versions of React.
Kindly share with us if you will be able to create a pull request for the same.
Happy coding, Kaushik
Also seeing the message with 0.14.8. Screenshot below.
I'm seeing the same issue. Is there a fix for it or will be be fixed in a coming release?
I don't see this error in the latest code. The demo app is now created by create-react-app
. Could you check it and let me know how to reproduce it?
It is strange. I'm running the latest version or react-toastr
from npm
(see below) but I still see the error messages. Not sure what is going on.
redux-simple-starter@1.0.0
└─┬ react-bootstrap-table@2.5.5
└── react-toastr@2.8.1
In the bundle.js I can see
ToastContainer.propTypes = {
toastType: _react.PropTypes.shape({
error: _react.PropTypes.string,
info: _react.PropTypes.string,
success: _react.PropTypes.string,
warning: _react.PropTypes.string
}).isRequired,
id: _react.PropTypes.string.isRequired,
toastMessageFactory: _react.PropTypes.func.isRequired,
preventDuplicates: _react.PropTypes.bool.isRequired,
newestOnTop: _react.PropTypes.bool.isRequired,
onClick: _react.PropTypes.func.isRequired
I'll try to make a small repo later for you to try.
Could it be an error in react-bootstrap-table
?
Cannot repro. Close now.
This warning
is raised with recent version of React when I use ToastContainer.