After a discussion with @spicyj we decided to keep the warning even though the functions will throw in production. The warning is the only way to learn about that.

We should also document how to pass the secret through in case you know what you're doing.

}
  return '';
}
/**
 * Provide a linked `value` attribute for controlled forms. You should not use
 * this outside of the ReactDOM controlled form components.
 */
var ReactControlledValuePropTypes = {
  checkPropTypes: function(tagName, props, ownerName) {
    for (var propName in propTypes) {
      if (propTypes.hasOwnProperty(propName)) {
        var error = propTypes[propName](
          props,
          propName,
          tagName,
          'prop',
        );
      }
      if (error instanceof Error && !(error.message in loggedTypeFailures)) {
        
        
        loggedTypeFailures[error.message] = true;
        var addendum = getDeclarationErrorAddendum(ownerName);
        warning(false, 'Failed form propType: %s%s', error.message, addendum);
      }
    }
  },
};
module.exports = ReactControlledValuePropTypes;