function defaultUpdateStrategy(options: UpdateOptions): Updater {
  return update => {
    if (options.batch === true) {
      scheduler(update, BATCH_OPTIONS)
    } else {
      update()
    }
  }
}
When using requestIdleCallback, batch together updates until the
browser is ready for them, but never make the user wait longer than
36 milliseconds.
@private