React
- Add
React.PureComponent- a new base class to extend, replacingreact-addons-pure-render-mixinnow that mixins don't work with ES2015 classes. (@spicyj in #7195) - Add new warning when modifying
this.props.children. (@jimfb in #7001) - Fixed issue with ref resolution order. (@gaearon in #7101)
- Warn when mixin is undefined. (@swaroopsm in #6158)
- Downgrade "unexpected batch number" invariant to a warning. (@spicyj in #7133)
- Validate arguments to
oneOfandoneOfTypePropTypes sooner. (@troydemonbreun in #6316) - Warn when calling PropTypes directly. (@Aweary in #7132, #7194)
- Improve warning when using Maps as children. (@keyanzhang in #7260)
- Add additional type information to the
PropTypes.elementwarning. (@alexzherdev in #7319) - Improve component identification in no-op
setStatewarning. (@keyanzhang in #7326)