@ -52,7 +52,7 @@ static getDerivedStateFromProps(props, state) {
return {
// Since this method fires on both props and state changes, local updates
// to the controlled value will be ignored, since the props version always
// overrides it.
// overrides it. Oops!
controlledValue: props.value,
};
}