You can no longer access this.props.ref and this.props.key from inside the Component instance itself. So you need to use a different name for those props.
You can no longer access this.props.ref and this.props.key from inside the Component instance itself. So you need to use a different name for those props.