docs: function _prepare(element, context) {
    return prepareElement(element, context).then(([children, childContext]) => {
      return Promise.all(
        React.Children.toArray(children).map(child =>
          _prepare(child, childContext)
        )
      );
    });
  }