warnOnce = (message) => {
  if (!previousWarnOnceMessages.includes(message)) {
    previousWarnOnceMessages.push(message)
    warn(message)
  }
}
Show a console warning, but only if it hasn't already been shown

@param {string} message