docs: function getChildContext (componentPrototype, instance, context) {
    if (componentPrototype.childContextTypes) {
      return assign(Object.create(null), context, instance.getChildContext());
    }
    return context;
  }