src/YouTube.js
function shouldUpdatePlayer(prevProps, props) {
  return (
     prevProps.id !== props.id || prevProps.className !== props.className
  );
}
function shouldUpdatePlayer(prevProps, props) {
  return (
     prevProps.id !== props.id || prevProps.className !== props.className
  );
}
function shouldUpdatePlayer ( prevProps , props ) { return ( prevProps . id !== props . id || prevProps . className !== props . className ) ; }
Check whether a props change should result in an id or className update.

@param {Object} prevProps
@param {Object} props
Check whether a props change should result in an id or className update .