message: fix(): fixes crash on Input
diff: @@ -39,25 +39,6 @@ class Item extends Component {
  this.inputProps.getRef(this._inputRef);
  }
  }
  - componentDidUpdate(nextProps) {
  - const childrenArray = React.Children.toArray(nextProps.children);
  -
  - _.remove(childrenArray, item => {
  - if (item.type.displayName === 'Styled(Input)') {
  - this.inputProps = item.props;
  - return item;
  - }
  - return null;
  - });
  - if (this.props.floatingLabel) {
  - if (this.inputProps && this.inputProps.value) {
  - this.setState({ isFocused: true });
  - this.floatUp(-16);
  - }
  - if (this.inputProps && this.inputProps.getRef)
  - this.inputProps.getRef(this._inputRef);
  - }
  - }
  getInitialStyle() {
  return {
  @@ -100,6 +81,30 @@ class Item extends Component {
  return computeProps(this.props, defaultProps);
  }
  + // Temporary fix to avoid the crash.
  + // To be refactored to getDerivedStateFromProps.
  +
  + // eslint-disable-next-line camelcase
  + UNSAFE_componentWillReceiveProps(nextProps) {
  + const childrenArray = React.Children.toArray(nextProps.children);
  +
  + _.remove(childrenArray, item => {
  + if (item.type.displayName === 'Styled(Input)') {
  + this.inputProps = item.props;
  + return item;
  + }
  + return null;
  + });
  + if (this.props.floatingLabel) {
  + if (this.inputProps && this.inputProps.value) {
  + this.setState({ isFocused: true });
  + this.floatUp(-16);
  + }
  + if (this.inputProps && this.inputProps.getRef)
  + this.inputProps.getRef(this._inputRef);
  + }
  + }
  +
  renderChildren() {
  const newChildren = [];
  const childrenArray = React.Children.toArray(this.props.children);
  