warnAboutDeprecation = (deprecatedParam, useInstead = null) => {
  warnOnce(
    `"${deprecatedParam}" is deprecated and will be removed in the next major release.${
      useInstead ? ` Use "${useInstead}" instead.` : ''
    }`
  )
}
Show a one-time console warning about deprecated params/methods

@param {string} deprecatedParam
@param {string?} useInstead