We need update <Provider /> prop types for React v 15.0.0
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html
// Before (15.4 and below)
import React from 'react';
class Component extends React.Component {
render() {
return <div>{this.props.text}</div>;
}
}
Component.propTypes = {
text: React.PropTypes.string.isRequired,
}
// After (15.5)
import React from 'react';
import PropTypes from 'prop-types';
class Component extends React.Component {
render() {
return <div>{this.props.text}</div>;
}
}
Component.propTypes = {
text: PropTypes.string.isRequired,
};
Oh... sorry. it's warning in react-redux package
Please file it in react-redux, this is not the right repository. Thanks!
Most helpful comment
Please file it in
react-redux, this is not the right repository. Thanks!