UNSAFE_componentWillReceiveProps(nextProps) {
		if (nextProps.data !== this.props.data) {
			this.setState(reinitLiveState(nextProps.data));
		}
		if (nextProps.initialData !== this.props.initialData) {
			this.setState({
				initialState: addErrorObject(nextProps.initialData), // eslint-disable-line react/no-unused-state
				liveState: addErrorObject(nextProps.initialData),
			});
		}
	}
/**
	 * Update live and initialState with the new schema
	 * @param nextProps
	 */
Update live and initialState with the new schema
@param nextProps
Update live and initialState with the new schema @param nextProps
UNSAFE_componentWillReceiveProps(nextProps) {
		if (nextProps.data !== this.props.data) {
			this.setState(reinitLiveState(nextProps.data));
		}
		if (nextProps.initialData !== this.props.initialData) {
			this.setState({
				initialState: addErrorObject(nextProps.initialData), 
				liveState: addErrorObject(nextProps.initialData),
			});
		}
	}
UNSAFE_componentWillReceiveProps ( nextProps ) { if ( nextProps . data !== this . props . data ) { this . setState ( reinitLiveState ( nextProps . data ) ) ; } if ( nextProps . initialData !== this . props . initialData ) { this . setState ( { initialState : addErrorObject ( nextProps . initialData ) , liveState : addErrorObject ( nextProps . initialData ) , } ) ; } }
Update live and initialState with the new schema
 @param nextProps
Update live and initialState with the new schema @param nextProps
// eslint-disable-line react/no-unused-state